|
|
|
@ -122,7 +122,7 @@ define(['uploader'], function(uploader) {
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$('.save').on('click', save);
|
|
|
|
|
|
|
|
|
|
$('#addNew').on('click', showCreateCategoryModal);
|
|
|
|
|
$('#create-category-btn').on('click', createNewCategory);
|
|
|
|
|
|
|
|
|
@ -177,6 +177,8 @@ define(['uploader'], function(uploader) {
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$('.admin-categories').on('click', '.save', save);
|
|
|
|
|
|
|
|
|
|
// Permissions modal
|
|
|
|
|
$('.admin-categories').on('click', '.permissions', function() {
|
|
|
|
|
var cid = $(this).parents('li[data-cid]').attr('data-cid');
|
|
|
|
|