summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ActiveControls
diff options
context:
space:
mode:
authortof <>2008-04-08 15:52:53 +0000
committertof <>2008-04-08 15:52:53 +0000
commit247e58768c624174c649f9680a638fcbb8ecd0f0 (patch)
tree5d5789aaa59e6bbe1035410657ac37ab5ff22335 /framework/Web/UI/ActiveControls
parent24f10e736df7705dbbff76d2f3345eaba369f432 (diff)
Fixed #679
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);
}
/**