support upload of files and attachments into comments. This has some repercussions when it comes to post permissions since the commenter will not know the distribution of the post. Basically the files will be uploaded with the commenter's default ACL. Most of the time this will do the right thing.
This commit is contained in:
@@ -132,6 +132,19 @@ function inserteditortag(BBcode, id) {
|
||||
return true;
|
||||
}
|
||||
|
||||
function insertCommentAttach(comment,id) {
|
||||
|
||||
activeCommentID = id;
|
||||
activeCommentText = comment;
|
||||
|
||||
$('body').css('cursor', 'wait');
|
||||
|
||||
$('#invisible-comment-upload').trigger('click');
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
function insertCommentURL(comment, id) {
|
||||
reply = prompt(aStr.linkurl);
|
||||
if(reply && reply.length) {
|
||||
|
Reference in New Issue
Block a user