Always show the option to  "track all comments to this entry" as an 
additional subscription, when trying to track a comment thread.

        Patch by afuna. 

diffs (16 lines):

diff -r 1d87598d83a2 -r ccf38dee94f1 htdocs/manage/subscriptions/comments.bml
--- a/htdocs/manage/subscriptions/comments.bml  Mon Nov 02 09:37:45 2009 +0000
+++ b/htdocs/manage/subscriptions/comments.bml  Mon Nov 02 09:57:29 2009 +0000
@@ -66,9 +66,10 @@ body<=
                                                   journal => $journal,
                                                   event   => 
'JournalNewComment',
                                                   arg1    => $ditemid,
-                                                  default_selected => 1,
+                                                  # select by default only if 
they can't watch the subthread above
+                                                  default_selected => 
$can_watch ? 0 : 1,
                                                   flags   => 
LJ::Subscription::TRACKING,
-                                                  ) unless $can_watch;
+                                                  );
 
     # only administrators of a community should be given the option to track 
all comments on another journal
     push @pending,
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to