From c2590bbf2f0e693d0deb9db1f7cd49861a3ebf18 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Tue, 29 Jun 2010 11:31:51 -0400 Subject: [PATCH] Update the form field after it's focused to avoid having it cleared. --- horde/lib/Block/twitter_timeline.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.11.0