diff options
| author | ctrlaltca@gmail.com <> | 2012-02-09 16:42:49 +0000 | 
|---|---|---|
| committer | ctrlaltca@gmail.com <> | 2012-02-09 16:42:49 +0000 | 
| commit | e963d62c3f65d861db977efc2489ccf4b631beb5 (patch) | |
| tree | 3981692ca746e11402146870fe7b6dbebc868ee1 /framework/Web/UI/TClientScriptManager.php | |
| parent | 4a8bd53f85b2dc0bcddd415873ce4ab49e1e099c (diff) | |
patch for #382
Diffstat (limited to 'framework/Web/UI/TClientScriptManager.php')
| -rw-r--r-- | framework/Web/UI/TClientScriptManager.php | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/TClientScriptManager.php b/framework/Web/UI/TClientScriptManager.php index 045169f1..3ce458a1 100644 --- a/framework/Web/UI/TClientScriptManager.php +++ b/framework/Web/UI/TClientScriptManager.php @@ -388,7 +388,7 @@ class TClientScriptManager extends TApplicationComponent  		if($target instanceof TControl)  			$target=$target->getClientID();  		$id = TJavaScript::quoteString($target); -		$this->_endScripts['prado:focus'] = 'new Effect.ScrollTo("'.$id.'"); Prado.Element.focus("'.$id.'");'; +		$this->_endScripts['prado:focus'] = 'new Effect.ScrollTo('.$id.'); Prado.Element.focus('.$id.');';  		$params=func_get_args();  		$this->_page->registerCachingAction('Page.ClientScript','registerFocusControl',$params);  | 
