summaryrefslogtreecommitdiff
path: root/framework/Web/UI
diff options
context:
space:
mode:
authorxue <>2007-07-25 15:04:48 +0000
committerxue <>2007-07-25 15:04:48 +0000
commitae7cba10c9c515e00901b2b05ee4dd352d70f16d (patch)
treeeda7106d6b375e0158f734d094452fd93a5add05 /framework/Web/UI
parent1de442870f9500b59ebc22e7cbc6d77b3bc3ac02 (diff)
Added non-js support.
Diffstat (limited to 'framework/Web/UI')
-rw-r--r--framework/Web/UI/WebControls/TTabPanel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TTabPanel.php b/framework/Web/UI/WebControls/TTabPanel.php
index 8b134458..42aac98b 100644
--- a/framework/Web/UI/WebControls/TTabPanel.php
+++ b/framework/Web/UI/WebControls/TTabPanel.php
@@ -471,7 +471,7 @@ class TTabView extends TWebControl
*/
protected function addAttributesToRender($writer)
{
- if(!$this->getActive())
+ if(!$this->getActive() && $this->getPage()->getClientSupportsJavaScript())
$this->getStyle()->setStyleField('display','none');
parent::addAttributesToRender($writer);