v1.18.x
Barış Soner Uşaklı 6 years ago
parent 64f263afe5
commit 28459d04c6

@ -39,16 +39,9 @@ define('admin/manage/category', [
handleTags();
$('#category-settings input, #category-settings select').not($('.privilege-table-container input'))
.on('change', function (ev) {
modified(ev.target);
})
.on('keydown', function (ev) {
if (ev.which === 13) {
ev.preventDefault();
return false;
}
});
$('#category-settings input, #category-settings select').on('change', function (ev) {
modified(ev.target);
});
$('[data-name="imageClass"]').on('change', function () {
$('.category-preview').css('background-size', $(this).val());

@ -1,4 +1,4 @@
<form role="form" class="category" data-cid="{category.cid}">
<div class="category" data-cid="{category.cid}">
<div class="row">
<div class="col-md-3 pull-right">
<select id="category-selector" class="form-control">
@ -163,7 +163,7 @@
</div>
</div>
</div>
</form>
</div>
<button id="save" class="floating-button mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--colored">
<i class="material-icons">save</i>

Loading…
Cancel
Save