Index: branches/RC/core/admin_templates/catalog_tab.tpl
===================================================================
diff -u -N -r11711 -r11724
--- branches/RC/core/admin_templates/catalog_tab.tpl (.../catalog_tab.tpl) (revision 11711)
+++ branches/RC/core/admin_templates/catalog_tab.tpl (.../catalog_tab.tpl) (revision 11724)
@@ -5,13 +5,8 @@
new ToolBarButton(
'new_cat',
'',
- function() {
- $form_name = $Catalog.queryTabRegistry('prefix', '', 'tab_id') + '_form';
-
- set_hidden_field('remove_specials[]', 1);
-
- std_precreate_item('', 'categories/categories_edit');
- }, true
+ add_item,
+ true
)
);