#2779 when duplicating categories, rename category:name to indicate it is duplicate

otherwise :rage1: when somebody deletes the wrong category
This commit is contained in:
psychobunny
2015-02-25 18:54:11 -05:00
parent 5020e864fc
commit c1b45bc0ea

View File

@@ -204,6 +204,9 @@ define('admin/manage/categories', [
case 'icon':
data[name] = $(this).attr('value');
break;
case 'name':
data[name] = $(this).val() + ' (copy)';
break;
default:
data[name] = $(this).val();
}