summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/UI/TControl.php1
-rw-r--r--framework/Web/UI/WebControls/TContent.php1
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);
}
}