Index: branches/RC/kernel/admin_templates/incs/catalog.js =================================================================== diff -u -N -r9525 -r9906 --- branches/RC/kernel/admin_templates/incs/catalog.js (.../catalog.js) (revision 9525) +++ branches/RC/kernel/admin_templates/incs/catalog.js (.../catalog.js) (revision 9906) @@ -334,4 +334,16 @@ Catalog.prototype.reflectPasteButton = function($status) { a_toolbar.SetEnabled('paste', $status); a_toolbar.SetEnabled('clear_clipboard', $status); +} + +Catalog.prototype.storeIDs = function ($category_variable) { + set_hidden_field($category_variable, Grids['c'].GetSelected().join(',')); + + // get selectes category items + for (var $i in Grids[this.ActivePrefix].Items) { + if (Grids[this.ActivePrefix].Items[$i].selected) { + set_hidden_field(Grids[this.ActivePrefix].Items[$i].CheckBox.id, 'on', false); + } + } + } \ No newline at end of file