Skip to content

Commit 34a1e35

Browse files
authored
Update scripts.js
1 parent 265bfae commit 34a1e35

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -1248,7 +1248,8 @@ define([
12481248
params.store_id = this.storeId;
12491249
}
12501250

1251-
var currentCustomerGroupId = $(parameters.groupIdHtmlId).value;
1251+
var currentCustomerGroupId = $(parameters.groupIdHtmlId)
1252+
? $(parameters.groupIdHtmlId).value : '';
12521253

12531254
new Ajax.Request(parameters.validateUrl, {
12541255
parameters: params,

0 commit comments

Comments
 (0)