move ext-specific js into that ext
This commit is contained in:
8
ext/comment/script.js
Normal file
8
ext/comment/script.js
Normal file
@ -0,0 +1,8 @@
|
||||
function replyTo(imageId, commentId, userId) {
|
||||
var box = $("#comment_on_"+imageId);
|
||||
var text = "[url=site://post/view/"+imageId+"#c"+commentId+"]@"+userId+"[/url]: ";
|
||||
|
||||
box.focus();
|
||||
box.val(box.val() + text);
|
||||
$("#c"+commentId).highlight();
|
||||
}
|
Reference in New Issue
Block a user