v1.18.x
Julian Lam 11 years ago
parent f3f4711a60
commit d13fcd3529

@ -89,14 +89,8 @@ define('forum/admin/categories', ['uploader', 'forum/admin/iconSelect'], functio
timeout: 2000 timeout: 2000
}); });
ajaxify.loadTemplate('admin/categories', function(adminCategories) { $('#new-category-modal').modal('hide');
var html = $(templates.parse(templates.getBlock(adminCategories, 'categories'), {categories: [data]})); ajaxify.refresh();
html.find('[data-name="bgColor"], [data-name="color"]').each(enableColorPicker);
$('#entry-container').append(html);
$('#new-category-modal').modal('hide');
});
}); });
} }

Loading…
Cancel
Save