fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-09-01 03:00 pm

[dw-nonfree] Views cannot set the active resource group

[commit: http://hg.dwscoalition.org/dw-nonfree/rev/88b132bdd652]

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

Allow views to choose whether they're using the jQuery library or the old
library.

Patch by [personal profile] fu.

Files modified:
  • cgi-bin/bml/scheme/tropo-purple.look
  • cgi-bin/bml/scheme/tropo-red.look
--------------------------------------------------------------------------------
diff -r 8342cfe92a3f -r 88b132bdd652 cgi-bin/bml/scheme/tropo-purple.look
--- a/cgi-bin/bml/scheme/tropo-purple.look	Sat Aug 28 19:12:32 2010 +0800
+++ b/cgi-bin/bml/scheme/tropo-purple.look	Wed Sep 01 23:00:41 2010 +0800
@@ -39,10 +39,14 @@ head<=
     <meta http-equiv="content-type" content="text/html; charset=utf-8" />
 
     <?_code
-        LJ::need_res( { priority => $LJ::SCHEME_RES_PRIORITY }, "stc/lj_base-app.css" );
-        LJ::need_res( { priority => $LJ::SCHEME_RES_PRIORITY }, "stc/tropo/reset.css" );
-        LJ::need_res( { priority => $LJ::SCHEME_RES_PRIORITY }, "stc/tropo/tropo-base.css" );
-        LJ::need_res( { priority => $LJ::SCHEME_RES_PRIORITY }, "stc/tropo/tropo-purple.css" );
+        LJ::need_res( { priority => $LJ::SCHEME_RES_PRIORITY },
+            qw( stc/jquery/jquery.ui.theme.smoothness.css
+                stc/lj_base-app.css
+                stc/tropo/reset.css
+                stc/tropo/tropo-base.css
+                stc/tropo/tropo-purple.css
+            )
+        );
 
         # we support both old style and new style pages; only one of these will get
         # loaded ...
diff -r 8342cfe92a3f -r 88b132bdd652 cgi-bin/bml/scheme/tropo-red.look
--- a/cgi-bin/bml/scheme/tropo-red.look	Sat Aug 28 19:12:32 2010 +0800
+++ b/cgi-bin/bml/scheme/tropo-red.look	Wed Sep 01 23:00:41 2010 +0800
@@ -39,10 +39,14 @@ head<=
     <meta http-equiv="content-type" content="text/html; charset=utf-8" />
 
     <?_code
-        LJ::need_res( { priority => $LJ::SCHEME_RES_PRIORITY }, "stc/lj_base-app.css" );
-        LJ::need_res( { priority => $LJ::SCHEME_RES_PRIORITY }, "stc/tropo/reset.css" );
-        LJ::need_res( { priority => $LJ::SCHEME_RES_PRIORITY }, "stc/tropo/tropo-base.css" );
-        LJ::need_res( { priority => $LJ::SCHEME_RES_PRIORITY }, "stc/tropo/tropo-red.css" );
+        LJ::need_res( { priority => $LJ::SCHEME_RES_PRIORITY },
+            qw( stc/jquery/jquery.ui.theme.smoothness.css
+                stc/lj_base-app.css
+                stc/tropo/reset.css
+                stc/tropo/tropo-base.css
+                stc/tropo/tropo-red.css
+            )
+        );
 
         # we support both old style and new style pages; only one of these will get
         # loaded ...
--------------------------------------------------------------------------------