Skip to content

Commit 8f6706e

Browse files
author
Viktor Tymchynskyi
committed
Merge remote-tracking branch 'origin/MAGETWO-32004' into MAGETWO-32004
2 parents 1a0cdf4 + d8b80bb commit 8f6706e

File tree

1 file changed

+4
-0
lines changed
  • app/code/Magento/Payment/view/frontend/templates/transparent

1 file changed

+4
-0
lines changed

app/code/Magento/Payment/view/frontend/templates/transparent/iframe.phtml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ $params = $block->getParams();
1818
window.top.location="<?php echo $block->escapeUrl($params['redirect_parent']) ?>";
1919
<?php elseif (isset($params['error_msg'])): ?>
2020
window.top.alert(<?php echo $this->helper('Magento\Framework\Json\Helper\Data')->jsonEncode($params['error_msg']) ?>);
21+
var require = window.top.require;
22+
require(['jquery'], function($) {
23+
$('#opc-review').trigger('hideAjaxLoader');
24+
});
2125
<?php elseif (isset($params['order_success'])): ?>
2226
window.top.location = "<?php echo $params['order_success'] ?>";
2327
<?php else: ?>

0 commit comments

Comments
 (0)