Палсеич— (lusever) wrote in changelog,
Палсеич—
lusever
changelog

[ljcom] r9058: LJSUP-6186: Add OfferPal block to the /s...

Committer: pkornilov
LJSUP-6186: Add OfferPal block to the /shop/wallet.bml.
U   trunk/cgi-bin/LJ/Widget/IPPU/Offerpal.pm
U   trunk/htdocs/js/pay.js
Modified: trunk/cgi-bin/LJ/Widget/IPPU/Offerpal.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/IPPU/Offerpal.pm	2010-06-15 05:44:09 UTC (rev 9057)
+++ trunk/cgi-bin/LJ/Widget/IPPU/Offerpal.pm	2010-06-15 05:44:39 UTC (rev 9058)
@@ -7,7 +7,7 @@
     my ($class, %opts) = @_;
     
     my $remote = LJ::get_remote();
-    return '<iframe src="' . $LJ::OFFERPAL_URL . $remote->userid . '" width="404" height="329" border="0"></iframe>';
+    return '<div style="text-align:center"><iframe src="' . $LJ::OFFERPAL_URL . $remote->userid . '" width="530" height="440" style="border:0"></iframe></div>';
 }
 
 1;

Modified: trunk/htdocs/js/pay.js
===================================================================
--- trunk/htdocs/js/pay.js	2010-06-15 05:44:09 UTC (rev 9057)
+++ trunk/htdocs/js/pay.js	2010-06-15 05:44:39 UTC (rev 9058)
@@ -258,6 +258,17 @@
 		});
 	},
 	
+	walletOfferpalSubmit: function()
+	{
+		new LJWidgetIPPU().init({
+			title: '',
+			width: 550,
+			height: 480,
+			widgetClass: 'IPPU::Offerpal'
+		});
+		return false;
+	},
+	
 	pageDiskquota: function()
 	{
 		jQuery('#shop_diskquota .b-buy-onetime input:radio').change(function()

Tags: js, ljcom, lusever, 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