Prepend replyto string to message, don't destroy user input!

This commit is contained in:
Tom Adams 2009-08-04 01:58:45 +01:00
parent 20b2540779
commit 2b00990d27
1 changed files with 1 additions and 1 deletions

View File

@ -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;