Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[ljcom] r10770: LJSUP-9232: Refactor resources inclusion...

Committer: gariev
LJSUP-9232: Refactor resources inclusion in the integration (kommersant) project
U   trunk/cgi-bin/LJ/PartnerSite.pm
Modified: trunk/cgi-bin/LJ/PartnerSite.pm
===================================================================
--- trunk/cgi-bin/LJ/PartnerSite.pm	2011-07-20 08:11:44 UTC (rev 10769)
+++ trunk/cgi-bin/LJ/PartnerSite.pm	2011-07-20 09:06:20 UTC (rev 10770)
@@ -594,16 +594,21 @@
 
     LJ::need_res( { 'clean_list' => 1 } );
 
-    LJ::need_res(qw( js/partners/placeholder.js
-                     js/jquery.js
-                     stc/lj_base.css ),
-                     'stc/partners/login/v' . $self->widget_version . '.css' );
+    LJ::need_res(qw( 
+        js/jquery.js
+        js/jquery/jquery.ui.core.min.js
+        js/jquery/jquery.ui.widget.min.js
+        js/jquery/jquery.lj.bubble.js
+        js/partners/placeholder.js
+        stc/lj_base.css ),
+         'stc/partners/login/v' . $self->widget_version . '.css' 
+    );
 
     my $additional_lj_resources = $self->lj_resources;
     LJ::need_res(@$additional_lj_resources) if $additional_lj_resources;
 
     return 
-        LJ::res_includes( {'only_needed' => $opts->{'only_needed'}} ) . 
+        LJ::res_includes( {'only_needed' => 1} ) . 
         $self->raw_resources;
 }
 

Tags: gariev, ljcom, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments