Skip to content

Commit 1400bb3

Browse files
committed
MAGETWO-36620: Unable to place order with payment methods
- fixed tests
1 parent dc9e4aa commit 1400bb3

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ $params = $block->getParams();
2424
var require = window.top.require;
2525
require(['jquery'], function($) {
2626
$('#edit_form').trigger('processStop');
27-
});
28-
require(['jquery'], function($) {
27+
2928
$("input[name='payment[cc_number]']").prop('disabled', true);
3029
$("select[name='payment[cc_type]']").prop('disabled', true);
3130
$("select[name='payment[cc_exp_month]']").prop('disabled', true);

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ $params = $block->getParams();
2424
var require = window.top.require;
2525
require(['jquery'], function($) {
2626
$('#opc-review').trigger('hideAjaxLoader');
27-
});
28-
require(['jquery'], function($) {
2927
$('#opc-review').trigger('saveOrder');
3028
});
3129
<?php endif; ?>

0 commit comments

Comments
 (0)