fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-04-22 02:12 pm

[dw-free] (jQuery beta) "No JQuery" error on siteschemed reply pages

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

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

Include the jQuery libraries if you have beta turned on.

Patch by [personal profile] fu.

Files modified:
  • htdocs/talkpost.bml
--------------------------------------------------------------------------------
diff -r 93f4e1dacbb4 -r 0e44d4e08708 htdocs/talkpost.bml
--- a/htdocs/talkpost.bml	Fri Apr 22 21:44:17 2011 +0800
+++ b/htdocs/talkpost.bml	Fri Apr 22 22:11:57 2011 +0800
@@ -31,6 +31,9 @@ body<=
     # libs for userpicselect
     LJ::need_res( LJ::Talk::init_iconbrowser_js() )
         if $remote && $remote->can_use_userpic_select;
+    LJ::set_active_resource_group( "jquery" )
+        if LJ::BetaFeatures->user_in_beta( $remote => "journaljquery" );
+
 
     my $pics = LJ::Talk::get_subjecticons();
 
--------------------------------------------------------------------------------