Henry Lyne (henrylyne) wrote in changelog,
Henry Lyne
henrylyne
changelog

[livejournal] r15625: Allow non-maintainers to mark comments a...

Committer: henrylyne
Allow non-maintainers to mark comments as spam. I.e., when you delete a
comment 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 {

Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments