Index: branches/RC/core/admin_templates/js/catalog.js =================================================================== diff -u -N -r11538 -r11541 --- branches/RC/core/admin_templates/js/catalog.js (.../catalog.js) (revision 11538) +++ branches/RC/core/admin_templates/js/catalog.js (.../catalog.js) (revision 11541) @@ -236,14 +236,16 @@ if (this.ActivePrefix != $prefix) { // hide source tab this.PreviousPrefix = this.ActivePrefix; - document.getElementById(this.PreviousPrefix + '_tab').className = 'catalog-tab-unselected'; + $( jq('#' + this.PreviousPrefix + '_tab') ).removeClass('tab-active'); + document.getElementById(this.queryTabRegistry('prefix', this.PreviousPrefix, 'tab_id') + '_div').style.display = 'none'; this.HideDependentButtons(this.PreviousPrefix); } // show destination tab this.ActivePrefix = $prefix; - document.getElementById(this.ActivePrefix + '_tab').className = 'catalog-tab-selected'; + $( jq('#' + this.ActivePrefix + '_tab') ).addClass('tab-active'); + var $div_id = this.queryTabRegistry('prefix', this.ActivePrefix, 'tab_id') + '_div'; // destination tab document.getElementById($div_id).style.display = 'block'; this.ShowDependentButtons(this.ActivePrefix); Index: branches/RC/core/admin_templates/catalog/catalog_tabs.tpl =================================================================== diff -u -N -r11368 -r11541 --- branches/RC/core/admin_templates/catalog/catalog_tabs.tpl (.../catalog_tabs.tpl) (revision 11368) +++ branches/RC/core/admin_templates/catalog/catalog_tabs.tpl (.../catalog_tabs.tpl) (revision 11541) @@ -1,33 +1,17 @@ - - - - -
- - - - - - - -
- _tab" cellpadding="0" cellspacing="0" width="100%" class="catalog-tab-unselected" onclick="$Catalog.switchTab('');"> - - - - - - -
- - - - - - (_item_count">?) - - -
-
-
\ No newline at end of file + + + + _tab" class="tab"> + + '); return false;" class="tab-link"> + (_item_count">?) + + + + + + + + + \ No newline at end of file Index: branches/RC/core/admin_templates/catalog/item_selector/item_selector_tabs.tpl =================================================================== diff -u -N -r11525 -r11541 --- branches/RC/core/admin_templates/catalog/item_selector/item_selector_tabs.tpl (.../item_selector_tabs.tpl) (revision 11525) +++ branches/RC/core/admin_templates/catalog/item_selector/item_selector_tabs.tpl (.../item_selector_tabs.tpl) (revision 11541) @@ -1,42 +1,24 @@ - - - - -
- - - - - + + + + - - - + + + - - - - - - -
- _tab" cellpadding="0" cellspacing="0" width="100%" class="catalog-tab-unselected" onclick="$Catalog.switchTab('');"> - - - - - - -
- - - - - - (_item_count">?) - - -
-
_tab" class="tab"> + + '); return false;" class="tab-link"> + (_item_count">?) + +
-
\ No newline at end of file + + + + + + + + + \ No newline at end of file