mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 22:45:46 +01:00
#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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user