diff options
author | xue <> | 2007-08-22 14:00:27 +0000 |
---|---|---|
committer | xue <> | 2007-08-22 14:00:27 +0000 |
commit | 6477d21d4ccc7969cefe1e38cbc3c001bbcb7459 (patch) | |
tree | 491099c203c228197832f151ad0d20c60437bda3 /framework/Web/UI/WebControls/TTabPanel.php | |
parent | 6202b3b118a21a077a5083f901246828d1ed89ef (diff) |
Fixed #696.
Diffstat (limited to 'framework/Web/UI/WebControls/TTabPanel.php')
-rw-r--r-- | framework/Web/UI/WebControls/TTabPanel.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TTabPanel.php b/framework/Web/UI/WebControls/TTabPanel.php index 86f322e8..394f7326 100644 --- a/framework/Web/UI/WebControls/TTabPanel.php +++ b/framework/Web/UI/WebControls/TTabPanel.php @@ -425,7 +425,10 @@ class TTabPanel extends TWebControl implements IPostBackDataHandler $options['NormalCssClass']=$this->getTabCssClass();
$viewIDs=array();
foreach($this->getViews() as $view)
- $viewIDs[]=$view->getClientID();
+ {
+ if($view->getVisible())
+ $viewIDs[]=$view->getClientID();
+ }
$options['Views']='[\''.implode('\',\'',$viewIDs).'\']';
return $options;
|