mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-13 17:35:46 +01:00
closes #1194
This commit is contained in:
@@ -87,12 +87,12 @@ define(['uploader'], function(uploader) {
|
||||
},
|
||||
distance: 10
|
||||
});
|
||||
$('.blockclass').each(function() {
|
||||
|
||||
$('.blockclass, .admin-categories form select').each(function() {
|
||||
var $this = $(this);
|
||||
$this.val($this.attr('data-value'));
|
||||
});
|
||||
|
||||
|
||||
function showCreateCategoryModal() {
|
||||
$('#new-category-modal').modal();
|
||||
}
|
||||
@@ -179,10 +179,12 @@ define(['uploader'], function(uploader) {
|
||||
select_icon($(this).find('i'));
|
||||
});
|
||||
|
||||
$('.admin-categories form input').on('change', function(ev) {
|
||||
$('.admin-categories form input, .admin-categories form select').on('change', function(ev) {
|
||||
modified(ev.target);
|
||||
});
|
||||
|
||||
|
||||
|
||||
$('.dropdown').on('click', '[data-disabled]', function(ev) {
|
||||
var btn = $(this),
|
||||
categoryRow = btn.parents('li'),
|
||||
|
||||
Reference in New Issue
Block a user