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] changelog2010-03-17 05:05 am

[dw-free] Crosspost enabled by default + no password saved, silently prevents posting to communities

[commit: http://hg.dwscoalition.org/dw-free/rev/574d2016a620]

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

Skip xpost checks if we're posting to a community or account that doesn't
support xposting.

Patch by [personal profile] afuna.

Files modified:
  • htdocs/js/xpost.js
--------------------------------------------------------------------------------
diff -r 5db312ece4e6 -r 574d2016a620 htdocs/js/xpost.js
--- a/htdocs/js/xpost.js	Wed Mar 17 05:02:42 2010 +0000
+++ b/htdocs/js/xpost.js	Wed Mar 17 05:05:20 2010 +0000
@@ -155,8 +155,10 @@ XPostAccount.updateXpostFromJournal = fu
 
   var xpostdiv = $('xpostdiv');
   if (allowXpost) {
+    XPostAccount.skipChecks = false;
     xpostdiv.style.display = 'block';
   } else {
+    XPostAccount.skipChecks = true;
     xpostdiv.style.display = 'none';
   }
 }
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org