Committer: henrylyne
Allow non-maintainers to mark comments as spam. I.e., when you delete acomment to a post you made.
Thanks to DW for the patch:
http://bugs.dwscoalition.org/show_bug.cgi?id=1236
U trunk/htdocs/js/commentmanage.js
Modified: trunk/htdocs/js/commentmanage.js =================================================================== --- trunk/htdocs/js/commentmanage.js 2009-08-21 09:06:49 UTC (rev 15624) +++ trunk/htdocs/js/commentmanage.js 2009-08-21 16:55:42 UTC (rev 15625) @@ -404,7 +404,7 @@ finalHeight -= 15; } - if (remoteUser != com.u && canAdmin) { + if (remoteUser != "" && remoteUser != com.u) { lbl = "ljpopdel" + dItemid + "spam"; inHTML += "<input type='checkbox' name='spam' id='" + lbl + "'> <label for='" + lbl + "'>Mark this comment as spam</label><br />"; } else {