forked from GNUsocial/gnu-social
replybutton.darc
Add a simple reply button to notices darcs-hash:20080708112016-f7d30-321142883159fa91338754140ac4ea37e54bb746.gz
This commit is contained in:
@@ -19,5 +19,14 @@ $(document).ready(function(){
|
||||
// run once in case there's something in there
|
||||
counter();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
function doreply(nick) {
|
||||
rgx_username = /^[0-9a-zA-Z\-_.]*$/;
|
||||
if (nick.match(rgx_username)) {
|
||||
replyto = "@" + nick + " ";
|
||||
document.getElementById("status_textarea").value=replyto;
|
||||
document.getElementById("status_textarea").focus();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user