diff options
author | Tom Adams <tom@holizz.com> | 2009-08-04 01:58:45 +0100 |
---|---|---|
committer | Tom Adams <tom@holizz.com> | 2009-08-04 01:58:45 +0100 |
commit | 2b00990d27b55644ff133355628f948ddca6df70 (patch) | |
tree | d30c7659d366fc8c454541d0f19d3fae185af406 /js/util.js | |
parent | 20b254077925d3bc2642a6ff623432b3fb5bdd07 (diff) |
Prepend replyto string to message, don't destroy user input!
Diffstat (limited to 'js/util.js')
-rw-r--r-- | js/util.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/util.js b/js/util.js index fd30336b9..d4db8b72a 100644 --- a/js/util.js +++ b/js/util.js @@ -257,7 +257,7 @@ function NoticeReplySet(nick,id) { if (nick.match(rgx_username)) { replyto = "@" + nick + " "; if ($("#notice_data-text").length) { - $("#notice_data-text").val(replyto); + $("#notice_data-text").val(replyto + $("#notice_data-text").val()); $("#form_notice input#notice_in-reply-to").val(id); $("#notice_data-text").focus(); return false; |