try to make replies point to the clicked-on notice
darcs-hash:20081020170245-5ed1f-b84f63d9d9b589bd18f97924db547e348beb6647.gz
This commit is contained in:
@@ -88,7 +88,7 @@ $(document).ready(function(){
|
||||
$("form.disfavor").each(addAjaxHidden);
|
||||
});
|
||||
|
||||
function doreply(nick) {
|
||||
function doreply(nick,id) {
|
||||
rgx_username = /^[0-9a-zA-Z\-_.]*$/;
|
||||
if (nick.match(rgx_username)) {
|
||||
replyto = "@" + nick + " ";
|
||||
@@ -97,6 +97,9 @@ function doreply(nick) {
|
||||
$("#status_textarea").focus();
|
||||
return false;
|
||||
}
|
||||
if (id) {
|
||||
$("#inreplyto").val(id);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user