Index: branches/RC/kernel/admin_templates/users/user_edit_items.tpl =================================================================== diff -u -r10083 -r10116 --- branches/RC/kernel/admin_templates/users/user_edit_items.tpl (.../user_edit_items.tpl) (revision 10083) +++ branches/RC/kernel/admin_templates/users/user_edit_items.tpl (.../user_edit_items.tpl) (revision 10116) @@ -26,11 +26,16 @@ /*Catalog.prototype.refreshTab = function($prefix, $div_id, $force) { // query tab content only in case if not queried or category don't match - var $url = this.URLMask.replace('#TEMPLATE_NAME#', this.queryTabRegistry('prefix', $prefix, 'module_path') + '/user_item_tab'); - this.BusyRequest[$prefix] = false; + var $cat_id = get_hidden_field('m_cat_id'); + var $tab_cat_id = document.getElementById($div_id).getAttribute('category_id'); + if ($cat_id != $tab_cat_id || $force) { + var $url = this.URLMask.replace('#TEMPLATE_NAME#', this.queryTabRegistry('prefix', $prefix, 'module_path') + '/user_item_tab'); - Request.makeRequest($url, this.BusyRequest[$prefix], $div_id, this.successCallback, this.errorCallback, $div_id, this); + this.BusyRequest[$prefix] = false; + + Request.makeRequest($url, this.BusyRequest[$prefix], $div_id, this.successCallback, this.errorCallback, $div_id, this); + } }*/ var $Catalog = new Catalog('', 'useritems_', 0); @@ -117,6 +122,7 @@
+ @@ -141,7 +147,8 @@ - + +