журнал (shhh) wrote in changelog,
журнал
shhh
changelog

[ljcom] r12987: LJSUP-14464: JS verification for Qiwi an...

Committer: nnikulochkina
LJSUP-14464: JS verification for Qiwi and mobile payments
U   trunk/cgi-bin/LJ/Widget/Shop/Checkout.pm
Modified: trunk/cgi-bin/LJ/Widget/Shop/Checkout.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/Shop/Checkout.pm	2012-12-04 07:51:52 UTC (rev 12986)
+++ trunk/cgi-bin/LJ/Widget/Shop/Checkout.pm	2012-12-04 08:42:41 UTC (rev 12987)
@@ -85,7 +85,9 @@
 
     my $method_params = $method_class->get_page_params($cart);
 
-    LJ::need_res ('stc/widgets/dengionline.css') if LJ::is_enabled('dengionline');
+    if (LJ::is_enabled('dengionline')) {
+        LJ::need_res ('stc/widgets/dengionline.css', 'js/jquery/shop/jquery.lj.payment.js');
+    }
 
     LJ::need_var ('cart_id' => $cart->get_cart_as_string);
 

Tags: ljcom, nikulochkina, nnikulochkina, 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