diff options
author | ctrlaltca <ctrlaltca@gmail.com> | 2014-03-27 07:22:55 +0100 |
---|---|---|
committer | ctrlaltca <ctrlaltca@gmail.com> | 2014-03-27 07:22:55 +0100 |
commit | 851f4679e14dbc420d27e6f0d5cfc88dd5af3dc0 (patch) | |
tree | 596fe1d217358f7121e9a8896c94ed89dedb4fc6 /framework/Web/Javascripts | |
parent | e2fb2ab1e2b5925f16d4dd5c3ac514a0e54ee026 (diff) | |
parent | a4d20ed4dddb6fc02be879b73039ea7fc977a17c (diff) |
Merge pull request #507 from gnits/master
Fix for tab control removing all extra css classes from tabs
Diffstat (limited to 'framework/Web/Javascripts')
-rw-r--r-- | framework/Web/Javascripts/source/prado/controls/tabpanel.js | 4 |
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(); } } |