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 @@
-
+
+
+
|