kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] changelog2009-08-07 01:34 am

[dw-free] AJAX-y stuff broken

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

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

BML is only mostly dead.

Patch by [personal profile] afuna.

Files modified:
  • cgi-bin/ljdefaults.pl
--------------------------------------------------------------------------------
diff -r ce5a9a5ce002 -r e4670e519af3 cgi-bin/ljdefaults.pl
--- a/cgi-bin/ljdefaults.pl	Thu Aug 06 10:52:05 2009 -0500
+++ b/cgi-bin/ljdefaults.pl	Thu Aug 06 20:33:56 2009 -0500
@@ -269,29 +269,29 @@
     # "RPC" URI mappings
     # add default URI handler mappings
     my %ajaxmapping = (
-                       delcomment     => "delcomment",
-                       talkscreen     => "talkscreen",
-                       controlstrip   => "tools/endpoints/controlstrip",
-                       ctxpopup       => "tools/endpoints/ctxpopup",
-                       changerelation => "tools/endpoints/changerelation",
-                       userpicselect  => "tools/endpoints/getuserpics",
-                       esn_inbox      => "tools/endpoints/esn_inbox",
-                       esn_subs       => "tools/endpoints/esn_subs",
-                       trans_save     => "tools/endpoints/trans_save",
-                       dirsearch      => "tools/endpoints/directorysearch",
-                       poll           => "tools/endpoints/poll",
-                       jobstatus      => "tools/endpoints/jobstatus",
-                       widget         => "tools/endpoints/widget",
-                       multisearch    => "tools/endpoints/multisearch",
-                       extacct_auth   => "tools/endpoints/extacct_auth",
+                       delcomment     => "delcomment.bml",
+                       talkscreen     => "talkscreen.bml",
+                       controlstrip   => "tools/endpoints/controlstrip.bml",
+                       ctxpopup       => "tools/endpoints/ctxpopup.bml",
+                       changerelation => "tools/endpoints/changerelation.bml",
+                       userpicselect  => "tools/endpoints/getuserpics.bml",
+                       esn_inbox      => "tools/endpoints/esn_inbox.bml",
+                       esn_subs       => "tools/endpoints/esn_subs.bml",
+                       trans_save     => "tools/endpoints/trans_save.bml",
+                       dirsearch      => "tools/endpoints/directorysearch.bml",
+                       poll           => "tools/endpoints/poll.bml",
+                       jobstatus      => "tools/endpoints/jobstatus.bml",
+                       widget         => "tools/endpoints/widget.bml",
+                       multisearch    => "tools/endpoints/multisearch.bml",
+                       extacct_auth   => "tools/endpoints/extacct_auth.bml",
                        );
 
     foreach my $src (keys %ajaxmapping) {
         $LJ::AJAX_URI_MAP{$src} ||= $ajaxmapping{$src};
     }
-    $LJ::AJAX_URI_MAP{load_state_codes} = 'tools/endpoints/load_state_codes';
-    $LJ::AJAX_URI_MAP{profileexpandcollapse} = 'tools/endpoints/profileexpandcollapse';
-    $LJ::AJAX_URI_MAP{dismisspagenotice} = 'tools/endpoints/dismisspagenotice';
+    $LJ::AJAX_URI_MAP{load_state_codes} = 'tools/endpoints/load_state_codes.bml';
+    $LJ::AJAX_URI_MAP{profileexpandcollapse} = 'tools/endpoints/profileexpandcollapse.bml';
+    $LJ::AJAX_URI_MAP{dismisspagenotice} = 'tools/endpoints/dismisspagenotice.bml';
 
     # List all countries that have states listed in 'codes' table in DB
     # These countries will be displayed with drop-down menu on Profile edit page
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
No Subject Icon Selected
More info about formatting

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