summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorDavid <ottodavid@gmx.net>2014-03-12 17:23:23 +0100
committerDavid <ottodavid@gmx.net>2014-08-21 17:31:11 +0200
commit2c1e56b22a023033ae4afd5db8d51f605037f2de (patch)
treee99cbbacca0ab492baceb77e7a939dd932a81739 /framework/Web
parent94e54d3023ed89281f89125f3ad0553afb9312cb (diff)
Fix: avoid unnecessary scrolling
(cherry picked from commit b2de810e574634c3b443ff5c5ccef5879e3caffd) Conflicts: framework/Web/UI/TClientScriptManager.php
Diffstat (limited to 'framework/Web')
-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 8b2b2ca6..c9c9c725 100644
--- a/framework/Web/UI/TClientScriptManager.php
+++ b/framework/Web/UI/TClientScriptManager.php
@@ -345,7 +345,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'] = 'Prado.Element.focus('.$id.');';
$params=func_get_args();
$this->_page->registerCachingAction('Page.ClientScript','registerFocusControl',$params);