diff options
Diffstat (limited to 'framework/Web/UI')
-rw-r--r-- | framework/Web/UI/TControl.php | 2 | ||||
-rw-r--r-- | framework/Web/UI/WebControls/TWizard.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php index 15965a74..7b22760f 100644 --- a/framework/Web/UI/TControl.php +++ b/framework/Web/UI/TControl.php @@ -1101,7 +1101,7 @@ class TControl extends TApplicationComponent implements IRenderable, IBindable $control->_page=null;
$control->_namingContainer=null;
$control->_tplControl=null;
- $control->_stage=self::CS_CONSTRUCTED;
+ //$control->_stage=self::CS_CONSTRUCTED;
if(!($control->_flags & self::IS_ID_SET))
$control->_id='';
else
diff --git a/framework/Web/UI/WebControls/TWizard.php b/framework/Web/UI/WebControls/TWizard.php index ef4691bd..fd849d3d 100644 --- a/framework/Web/UI/WebControls/TWizard.php +++ b/framework/Web/UI/WebControls/TWizard.php @@ -189,7 +189,7 @@ class TWizard extends TWebControl implements INamingContainer */
public function addParsedObject($object)
{
- if(is_object($object))
+ if($object instanceof TWizardStep)
$this->getWizardSteps()->add($object);
}
|