Skip to content

Commit

Permalink
#706 - Fixed payment template iframe scroll issue
Browse files Browse the repository at this point in the history
  • Loading branch information
wa4u committed Sep 24, 2015
1 parent d7ca37e commit 588d178
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 588d178

Please sign in to comment.