diff options
author | xue <> | 2006-01-12 20:29:32 +0000 |
---|---|---|
committer | xue <> | 2006-01-12 20:29:32 +0000 |
commit | 325784e87947dc4bde4fdcb76dfcee2416aec28d (patch) | |
tree | cfa8b4450ab4aacb3e527b38f1ddb1b1cf765404 /framework | |
parent | 502f34922f324437030a76742252b37f5f82567d (diff) |
Fixed an issue about Master/Content.
Diffstat (limited to 'framework')
-rw-r--r-- | framework/Web/UI/TControl.php | 1 | ||||
-rw-r--r-- | framework/Web/UI/WebControls/TContent.php | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php index 18b7d1e0..d6e1889d 100644 --- a/framework/Web/UI/TControl.php +++ b/framework/Web/UI/TControl.php @@ -990,6 +990,7 @@ class TControl extends TComponent $control->_page=null;
$control->_namingContainer=null;
$control->_tplControl=null;
+ $control->_stage=self::CS_CONSTRUCTED;
if(!($control->_flags & self::IS_ID_SET))
$control->_id='';
$control->clearCachedUniqueID(true);
diff --git a/framework/Web/UI/WebControls/TContent.php b/framework/Web/UI/WebControls/TContent.php index d02d3b4d..f2c6f0ac 100644 --- a/framework/Web/UI/WebControls/TContent.php +++ b/framework/Web/UI/WebControls/TContent.php @@ -42,7 +42,6 @@ class TContent extends TControl implements INamingContainer if(($id=$this->getID())==='')
throw new TConfigurationException('content_id_required');
$this->getTemplateControl()->registerContent($this);
- parent::createdOnTemplate($parent);
}
}
|