-function commentGetLink(id) {
- reply = prompt("Please enter a link URL:");
- if(reply && reply.length) {
- reply = bin2hex(reply);
- $.get('parse_url?isComment=1&binurl=' + reply, function(data) {
- addcommenttext(data, id);
- });
- }
+function commentGetLink(id, prompttext) {
+ reply = prompt(prompttext);
+ if(reply && reply.length) {
+ reply = bin2hex(reply);
+ $.get('parse_url?noAttachment=1&binurl=' + reply, function(data) {
+ addCommentText(data, id);
+ });
+ }