#2779 also copy icon

v1.18.x
psychobunny 10 years ago
parent 59d176fa7b
commit 5020e864fc

@ -199,7 +199,14 @@ define('admin/manage/categories', [
data = {}; data = {};
inputs.each(function() { inputs.each(function() {
data[$(this).attr('data-name')] = $(this).val(); var name = $(this).attr('data-name');
switch (name) {
case 'icon':
data[name] = $(this).attr('value');
break;
default:
data[name] = $(this).val();
}
}); });
saveNew(data); saveNew(data);

Loading…
Cancel
Save