Index: branches/RC/core/admin_templates/catalog/catalog.tpl =================================================================== diff -u -N -r11711 -r11724 --- branches/RC/core/admin_templates/catalog/catalog.tpl (.../catalog.tpl) (revision 11711) +++ branches/RC/core/admin_templates/catalog/catalog.tpl (.../catalog.tpl) (revision 11724) @@ -266,6 +266,12 @@ $form_name = $Catalog.queryTabRegistry('prefix', $current_prefix, 'tab_id') + '_form'; std_edit_item($current_prefix, $Catalog.queryTabRegistry('prefix', $current_prefix, 'edit_template')); } + + function add_item() { + var $current_prefix = $Catalog.getCurrentPrefix(); + $form_name = $Catalog.queryTabRegistry('prefix', $current_prefix, 'tab_id') + '_form'; + std_precreate_item($current_prefix, $Catalog.queryTabRegistry('prefix', $current_prefix, 'edit_template')); + }