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

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

@ -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="row">
<div class="col-md-3 pull-right"> <div class="col-md-3 pull-right">
<select id="category-selector" class="form-control"> <select id="category-selector" class="form-control">
@ -163,7 +163,7 @@
</div> </div>
</div> </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"> <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> <i class="material-icons">save</i>

Loading…
Cancel
Save