From: Tom Adams Date: Tue, 4 Aug 2009 00:58:45 +0000 (+0100) Subject: Prepend replyto string to message, don't destroy user input! X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2b00990d27b55644ff133355628f948ddca6df70;p=quix0rs-gnu-social.git Prepend replyto string to message, don't destroy user input! --- diff --git a/js/util.js b/js/util.js index fd30336b95..d4db8b72a9 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;