summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ActiveControls
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/ActiveControls')
-rw-r--r--framework/Web/UI/ActiveControls/TActiveControlAdapter.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/framework/Web/UI/ActiveControls/TActiveControlAdapter.php b/framework/Web/UI/ActiveControls/TActiveControlAdapter.php
index 8e637719..f9979766 100644
--- a/framework/Web/UI/ActiveControls/TActiveControlAdapter.php
+++ b/framework/Web/UI/ActiveControls/TActiveControlAdapter.php
@@ -143,17 +143,16 @@ class TActiveControlAdapter extends TControlAdapter
}
/**
- * Loads additional persistent control state. Starts viewstate tracking
- * if necessary.
+ * Starts viewstate tracking if necessary after when controls has been loaded
*/
- public function loadState()
- {
+ public function onLoad($param)
+ {
if($this->getIsTrackingPageState())
{
$this->_stateTracker = new TCallbackPageStateTracker($this->getControl());
$this->_stateTracker->trackChanges();
- }
- parent::loadState();
+ }
+ parent::onLoad($param);
}
/**