Skip to content

Commit 5e53342

Browse files
Chhandak.BaruaChhandak.Barua
Chhandak.Barua
authored and
Chhandak.Barua
committed
ACP2E-3416: Admin duplicated place order requests sent
1 parent 119219e commit 5e53342

File tree

1 file changed

+1
-0
lines changed
  • dev/tests/js/jasmine/tests/app/code/Magento/Sales/adminhtml/js/order/create

1 file changed

+1
-0
lines changed

dev/tests/js/jasmine/tests/app/code/Magento/Sales/adminhtml/js/order/create/scripts.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ define([
439439
if ($editForm.valid()) {
440440
$submitButton.prop('disabled', true);
441441
const beforeSubmitOrderEvent = $.Event('beforeSubmitOrder');
442+
442443
$editForm.trigger(beforeSubmitOrderEvent);
443444

444445
if (beforeSubmitOrderEvent.result !== false) {

0 commit comments

Comments
 (0)