js function for inserting comment links
This commit is contained in:
parent
e38f9e720f
commit
b20fd1b3e3
@ -164,3 +164,10 @@ function deleteCookie( name, path, domain ) {
|
||||
";expires=Thu, 01-Jan-1970 00:00:01 GMT";
|
||||
}
|
||||
|
||||
function replyTo(imageId, commentId) {
|
||||
var box = $("#comment_on_"+imageId);
|
||||
var text = ">>"+imageId+"#"+commentId+": ";
|
||||
|
||||
box.focus();
|
||||
box.val(box.val() + text);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user