Index: trunk/core/admin_templates/catalog/catalog.tpl =================================================================== diff -u -N -r5060 -r5061 --- trunk/core/admin_templates/catalog/catalog.tpl (.../catalog.tpl) (revision 5060) +++ trunk/core/admin_templates/catalog/catalog.tpl (.../catalog.tpl) (revision 5061) @@ -53,8 +53,8 @@ a_toolbar.AddButton( new ToolBarButton('delete', '', function() { - $form_name = $Catalog.queryTabRegistry('prefix', $Catalog.getCurrentPrefix(), 'tab_id') + '_form'; - std_delete_items($Catalog.getCurrentPrefix()); + var $module_path = $Catalog.queryTabRegistry('prefix', $Catalog.getCurrentPrefix(), 'module_path'); + std_delete_items($Catalog.getCurrentPrefix(), $module_path + '/catalog_tab', 1); } ) ); @@ -137,7 +137,7 @@ - + + +
@@ -156,8 +158,7 @@
Search:  - " PrefixSpecial="c" Grid="Default" style="border: 1px solid grey;"> - + Index: trunk/kernel/admin_templates/incs/script.js =================================================================== diff -u -N -r5057 -r5061 --- trunk/kernel/admin_templates/incs/script.js (.../script.js) (revision 5057) +++ trunk/kernel/admin_templates/incs/script.js (.../script.js) (revision 5061) @@ -431,10 +431,11 @@ submit_event(prefix_special,'',edit_template) } -function std_delete_items(prefix_special) +function std_delete_items(prefix_special, t, $ajax) { - if (inpConfirm('Are you sure you want to delete selected items?')) - submit_event(prefix_special,'OnMassDelete') + if (inpConfirm('Are you sure you want to delete selected items?')) { + submit_event(prefix_special, 'OnMassDelete', t, null, $ajax); + } } Index: trunk/kernel/admin_templates/catalog.tpl =================================================================== diff -u -N -r5060 -r5061 --- trunk/kernel/admin_templates/catalog.tpl (.../catalog.tpl) (revision 5060) +++ trunk/kernel/admin_templates/catalog.tpl (.../catalog.tpl) (revision 5061) @@ -53,8 +53,8 @@ a_toolbar.AddButton( new ToolBarButton('delete', '', function() { - $form_name = $Catalog.queryTabRegistry('prefix', $Catalog.getCurrentPrefix(), 'tab_id') + '_form'; - std_delete_items($Catalog.getCurrentPrefix()); + var $module_path = $Catalog.queryTabRegistry('prefix', $Catalog.getCurrentPrefix(), 'module_path'); + std_delete_items($Catalog.getCurrentPrefix(), $module_path + '/catalog_tab', 1); } ) ); @@ -137,7 +137,7 @@ - + + +
@@ -156,8 +158,7 @@
Search:  - " PrefixSpecial="c" Grid="Default" style="border: 1px solid grey;"> - + Index: trunk/kernel/admin_templates/xml/categories_list.tpl =================================================================== diff -u -N -r5041 -r5061 --- trunk/kernel/admin_templates/xml/categories_list.tpl (.../categories_list.tpl) (revision 5041) +++ trunk/kernel/admin_templates/xml/categories_list.tpl (.../categories_list.tpl) (revision 5061) @@ -8,6 +8,8 @@ $Catalog.setItemCount('c', ''); $Catalog.ParentCategoryID = ; +document.getElementById('c_search_warning').style.display = 'blocknone'; +document.getElementById('c_search_keyword').value = ''; @@ -38,7 +40,6 @@ #separator# -
@@ -61,4 +62,3 @@

- \ No newline at end of file Index: trunk/core/admin_templates/categories/xml/categories_list.tpl =================================================================== diff -u -N -r5041 -r5061 --- trunk/core/admin_templates/categories/xml/categories_list.tpl (.../categories_list.tpl) (revision 5041) +++ trunk/core/admin_templates/categories/xml/categories_list.tpl (.../categories_list.tpl) (revision 5061) @@ -8,6 +8,8 @@ $Catalog.setItemCount('c', ''); $Catalog.ParentCategoryID = ; +document.getElementById('c_search_warning').style.display = 'blocknone'; +document.getElementById('c_search_keyword').value = ''; @@ -38,7 +40,6 @@ #separator# -
@@ -61,4 +62,3 @@

- \ No newline at end of file Index: trunk/kernel/admin_templates/incs/blocks.tpl =================================================================== diff -u -N -r4610 -r5061 --- trunk/kernel/admin_templates/incs/blocks.tpl (.../blocks.tpl) (revision 4610) +++ trunk/kernel/admin_templates/incs/blocks.tpl (.../blocks.tpl) (revision 5061) @@ -1,4 +1,4 @@ - + @@ -7,7 +7,7 @@
" name="" enctype="multipart/form-data" method="post" action=""> " /> - +