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);