From 247e58768c624174c649f9680a638fcbb8ecd0f0 Mon Sep 17 00:00:00 2001 From: tof <> Date: Tue, 8 Apr 2008 15:52:53 +0000 Subject: Fixed #679 --- framework/Web/UI/ActiveControls/TActiveControlAdapter.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'framework/Web/UI') 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); } /** -- cgit v1.2.3