Skip to content

Commit 1c10010

Browse files
author
Mastiuhin Olexandr
committed
Merge branch 'MAGETWO-94887' into 2.3-develop-pr9
2 parents 76e18b9 + 0baeca2 commit 1c10010

File tree

1 file changed

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

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ define([
4848
if (typeof controlButtonArea != 'undefined') {
4949
var buttons = controlButtonArea.childElements();
5050
for (var i = 0; i < buttons.length; i++) {
51-
if (buttons[i].innerHTML.include(button.label)) {
51+
if (buttons[i].innerHTML.include(button.getLabel())) {
5252
return;
5353
}
5454
}
@@ -1432,6 +1432,10 @@ define([
14321432
node.update('<span>' + this._label + '</span>');
14331433
content[position] = node;
14341434
Element.insert(element, content);
1435+
},
1436+
1437+
getLabel: function(){
1438+
return this._label;
14351439
}
14361440
};
14371441

0 commit comments

Comments
 (0)