diff options
author | tof <> | 2008-04-08 15:52:53 +0000 |
---|---|---|
committer | tof <> | 2008-04-08 15:52:53 +0000 |
commit | 247e58768c624174c649f9680a638fcbb8ecd0f0 (patch) | |
tree | 5d5789aaa59e6bbe1035410657ac37ab5ff22335 /framework/Web/UI/ActiveControls/TActiveControlAdapter.php | |
parent | 24f10e736df7705dbbff76d2f3345eaba369f432 (diff) |
Fixed #679
Diffstat (limited to 'framework/Web/UI/ActiveControls/TActiveControlAdapter.php')
-rw-r--r-- | framework/Web/UI/ActiveControls/TActiveControlAdapter.php | 11 |
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);
}
/**
|