diff options
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;
|