mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-04-29 09:37 pm

[dw-free] remove crosspost option when posting to comms

[commit: http://hg.dwscoalition.org/dw-free/rev/0f25abc3ccf3]

http://bugs.dwscoalition.org/show_bug.cgi?id=951

Fix update.bml for logged out users, again.

Patch by [personal profile] allen.

Files modified:
  • cgi-bin/weblib.pl
--------------------------------------------------------------------------------
diff -r 580eeae9856a -r 0f25abc3ccf3 cgi-bin/weblib.pl
--- a/cgi-bin/weblib.pl	Wed Apr 29 09:46:55 2009 +0000
+++ b/cgi-bin/weblib.pl	Wed Apr 29 21:37:30 2009 +0000
@@ -1191,7 +1191,6 @@ sub entry_form {
                 $out .= "</p>\n";
             }
         }
-        $$onload .= " LiveJournal.updateXpostFromJournal('$remote->{user}');";
 
         # Authentication box
         $out .= "<p class='update-errors'><?inerr $errors->{'auth'} inerr?></p>\n" if $errors->{'auth'};
@@ -1556,6 +1555,7 @@ MOODS
 
             if ($remote) {
                 # crosspost
+                $$onload .= " LiveJournal.updateXpostFromJournal('$remote->{user}');";
                 my @accounts = DW::External::Account->get_external_accounts($remote);
                 
                 # populate the per-account html first, so that we only have to 
--------------------------------------------------------------------------------