File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
app/code/Magento/Authorizenet/view/adminhtml/templates/directpost Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -140,10 +140,6 @@ $ccExpYear = $block->getInfoData('cc_exp_year');
140
140
*/
141
141
order.addExcludedPaymentMethod('<?php /* @noEscape */ echo $ code ; ?> ');
142
142
143
- <?php if (!$ block ->isAjaxRequest ()): ?>
144
- document.observe('dom:loaded', function(){
145
- <?php endif ; ?>
146
-
147
143
directPostModel = new directPost(
148
144
'<?php /* @noEscape */ echo $ code ; ?> ',
149
145
'directpost-iframe',
@@ -153,9 +149,5 @@ $ccExpYear = $block->getInfoData('cc_exp_year');
153
149
'<?php echo $ block ->escapeUrl ($ block ->getUrl ('*/*/save ' , [
154
150
'_secure ' => $ block ->getRequest ()->isSecure ()
155
151
]));?> ');
156
-
157
- <?php if (!$ block ->isAjaxRequest ()): ?>
158
- });
159
- <?php endif ; ?>
160
152
});
161
153
</script>
You can’t perform that action at this time.
0 commit comments