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

otherwise :rage1: when somebody deletes the wrong category
v1.18.x
psychobunny 10 years ago
parent 5020e864fc
commit c1b45bc0ea

@ -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();
}

Loading…
Cancel
Save