From: Michael J. Rubinsky Date: Tue, 29 Jun 2010 15:31:51 +0000 (-0400) Subject: Update the form field after it's focused to avoid having it cleared. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=c2590bbf2f0e693d0deb9db1f7cd49861a3ebf18;p=horde.git Update the form field after it's focused to avoid having it cleared. --- diff --git a/horde/lib/Block/twitter_timeline.php b/horde/lib/Block/twitter_timeline.php index 56d37c409..3895459cb 100644 --- a/horde/lib/Block/twitter_timeline.php +++ b/horde/lib/Block/twitter_timeline.php @@ -214,9 +214,9 @@ class Horde_Block_Horde_twitter_timeline extends Horde_Block buildReply: function(id, userid, usertext) { this.inReplyTo = id; + {$inputNode}.focus(); {$inputNode}.value = '@' + userid + ' '; {$inReplyToNode}.update(' {$inReplyToText} ' + usertext); - {$inputNode}.focus(); }, updateCallback: function(response) {