From 588d1787ac4ec76f8331a4adf04a2af07966871a Mon Sep 17 00:00:00 2001 From: Kiran Date: Thu, 24 Sep 2015 20:57:47 +0530 Subject: [PATCH] #706 - Fixed payment template iframe scroll issue --- .../core/content/checkout/checkout_payment_template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/catalog/templates/core/content/checkout/checkout_payment_template.php b/catalog/templates/core/content/checkout/checkout_payment_template.php index 007ec9fdc..189ac4245 100644 --- a/catalog/templates/core/content/checkout/checkout_payment_template.php +++ b/catalog/templates/core/content/checkout/checkout_payment_template.php @@ -12,12 +12,12 @@ $params = utility::nvp2arr($lC_Payment->getIframeParams()); $fWidth = (isset($params['width']) && empty($params['width']) === false) ? $params['width'] : '550px'; $fHeight = (isset($params['height']) && empty($params['height']) === false) ? $params['height'] : '550px'; - $fScroll = (isset($params['scroll']) && empty($params['scroll']) === false) ? $params['scroll'] : 'no'; + $fScroll = (isset($params['scroll']) && empty($params['scroll']) === false) ? $params['scroll'] : 'auto'; $fStyle = (isset($params['margin-left']) && empty($params['margin-left']) === false) ? 'style="margin-left:' . $params['margin-left'] . '"' : null; } else { $fWidth = '550px'; $fHeight = '550px'; - $fScroll = 'no'; + $fScroll = 'auto'; $fStyle = null; } $secureUrl = ($lC_Payment->hasIframeURL()) ? substr($lC_Payment->getIframeURL(), 0, strpos($lC_Payment->getIframeURL(), '?')) : (($lC_Payment->hasRelayURL()) ? $lC_Payment->getRelayURL() : NULL);