diff options
Diffstat (limited to 'framework/Web')
-rw-r--r-- | framework/Web/UI/TPage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php index db024f45..529a6b60 100644 --- a/framework/Web/UI/TPage.php +++ b/framework/Web/UI/TPage.php @@ -948,7 +948,7 @@ class TPage extends TTemplateControl $this->getClientScript()->registerFocusControl($focus);
}
else if($this->_postData && ($lastFocus=$this->_postData->itemAt(self::FIELD_LASTFOCUS))!==null)
- $cs->registerFocusControl($lastFocus);
+ $this->getClientScript()->registerFocusControl($lastFocus);
$this->_inFormRender=false;
}
|