Fix error messages when screening/unscreening from journal page using 
JavaScript.

        Patch from LiveJournal, packaged for Dreamwidth by denise. 

diffs (28 lines):

diff -r c3cf0e3d9637 -r 3433520d1576 htdocs/talkmulti.bml
--- a/htdocs/talkmulti.bml      Sun Nov 08 15:32:22 2009 +0000
+++ b/htdocs/talkmulti.bml      Sun Nov 08 15:58:26 2009 +0000
@@ -2,6 +2,10 @@
 {
     use strict;
     use vars qw(%POST $title $body);
+
+    # explicitly set language scope for use when called as an 
+    # endpoint from users' journals:
+    BML::set_language_scope('/talkmulti.bml');
 
     my $err = sub {
         my $errmsg = shift;
diff -r c3cf0e3d9637 -r 3433520d1576 htdocs/talkscreen.bml
--- a/htdocs/talkscreen.bml     Sun Nov 08 15:32:22 2009 +0000
+++ b/htdocs/talkscreen.bml     Sun Nov 08 15:58:26 2009 +0000
@@ -8,6 +8,10 @@ _info?><?_code
 
     my $jsmode = !!$GET{jsmode};
     $body = "";
+
+    # explicitly set language scope for use when called as an 
+    # endpoint from users' journals:
+    BML::set_language_scope('/talkscreen.bml');
 
     my $error = sub {
         if ($jsmode) {
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to