Skip to content

Node.js based forum software built for the modern web

Merge remote-tracking branch 'origin/master'

Baris Usakli1fa52267d4fa
diff --cc public/src/admin/manage/category.js
index 3ed4ee8eb0,7911bb5b84..8c661084ff
--- a/public/src/admin/manage/category.js
+++ b/public/src/admin/manage/category.js
@@@ -12,21 -12,7 +12,8 @@@ define('admin/manage/category',
var modified_categories = {};
Category.init = function () {
- var modified_categories = {};
-
- function modified(el) {
- var cid = $(el).parents('form').attr('data-cid');
-
- if (cid) {
- modified_categories[cid] = modified_categories[cid] || {};
- modified_categories[cid][$(el).attr('data-name')] = $(el).val();
-
- app.flags = app.flags || {};
- app.flags._unsaved = true;
- }
- }
- $('.blockclass, form.category select').each(function () {
+
+ $('#category-settings select').each(function () {
var $this = $(this);
$this.val($this.attr('data-value'));
});