summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/Javascripts/source/prado/controls/tabpanel.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/Javascripts/source/prado/controls/tabpanel.js b/framework/Web/Javascripts/source/prado/controls/tabpanel.js
index 866e45fb..61a18a28 100644
--- a/framework/Web/Javascripts/source/prado/controls/tabpanel.js
+++ b/framework/Web/Javascripts/source/prado/controls/tabpanel.js
@@ -25,10 +25,10 @@ Prado.WebUI.TTabPanel = jQuery.klass(Prado.WebUI.Control,
if (view)
if(this.hiddenField.value == i)
{
- element.className=this.activeCssClass;
+ jQuery(element).addClass(this.activeCssClass).removeClass(this.normalCssClass);
jQuery(view).show();
} else {
- element.className=this.normalCssClass;
+ jQuery(element).addClass(this.normalCssClass).removeClass(this.activeCssClass);
jQuery(view).hide();
}
}