Skip to content

Commit b0d2645

Browse files
committed
MC-36044: There are no 'Add Products By SKU' and 'Add Products' buttons on Create New Order page
1 parent de9332c commit b0d2645

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Sales/view/adminhtml/web/order/create

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/view/adminhtml/web/order/create/scripts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ define([
8484
}, 10);
8585
};
8686

87-
if (jQuery('#' + this.getAreaId('items')).is(':visible')) {
87+
if (jQuery('#order-items').ready()) {
8888
this.dataArea.onLoad = this.dataArea.onLoad.wrap(function (proceed) {
8989
proceed();
9090
this._parent.itemsArea.setNode($(this._parent.getAreaId('items')));

0 commit comments

Comments
 (0)