fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-12-29 06:13 am

[dw-free] Browse button not working in comment preview

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

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

set_active_resource_group to jQuery for comment preview if we're in beta.

Patch by [personal profile] fu.

Files modified:
  • htdocs/talkpost_do.bml
--------------------------------------------------------------------------------
diff -r 9629699438a3 -r 75287c8bf228 htdocs/talkpost_do.bml
--- a/htdocs/talkpost_do.bml	Thu Dec 29 13:48:16 2011 +0800
+++ b/htdocs/talkpost_do.bml	Thu Dec 29 14:13:32 2011 +0800
@@ -119,6 +119,9 @@
     # libs for userpicselect
     LJ::need_res( LJ::Talk::init_iconbrowser_js( LJ::BetaFeatures->user_in_beta( $remote => "journaljquery" ) ) )
         if $remote && $remote->can_use_userpic_select;
+    LJ::set_active_resource_group( "jquery" )
+        if LJ::BetaFeatures->user_in_beta( $remote => "journaljquery" );
+
 
     # FIXME: this isn't entirely correct, if ecphash is present but ignored/incorrect
     # that fix would need to be done in talklib.pl
--------------------------------------------------------------------------------