summaryrefslogtreecommitdiff
path: root/framework/Web/UI
diff options
context:
space:
mode:
authorDavid <ottodavid@gmx.net>2014-03-12 17:23:23 +0100
committerDavid <ottodavid@gmx.net>2014-03-12 17:23:23 +0100
commitb2de810e574634c3b443ff5c5ccef5879e3caffd (patch)
tree478a6580464b1d6babbe7b7540fda99352b567c9 /framework/Web/UI
parent82774aa0a41562a325f31c901584ec01c8238573 (diff)
Fix: avoid unnecessary scrolling
Diffstat (limited to 'framework/Web/UI')
-rw-r--r--framework/Web/UI/TClientScriptManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/TClientScriptManager.php b/framework/Web/UI/TClientScriptManager.php
index 4bef0e08..937bd84e 100644
--- a/framework/Web/UI/TClientScriptManager.php
+++ b/framework/Web/UI/TClientScriptManager.php
@@ -341,7 +341,7 @@ class TClientScriptManager extends TApplicationComponent
$this->registerPradoScriptInternal('jquery');
if($target instanceof TControl)
$target=$target->getClientID();
- $this->_endScripts['prado:focus'] = 'new Prado.Element.scrollTo(\''.$target.'\'); jQuery(\'#'.$target.'\').focus();';
+ $this->_endScripts['prado:focus'] = 'jQuery(\'#'.$target.'\').focus();';
$params=func_get_args();
$this->_page->registerCachingAction('Page.ClientScript','registerFocusControl',$params);