Skip to content

Commit 26ab1a1

Browse files
committed
MAGETWO-36407: Error on invoice creation page in console
1 parent c6b58c4 commit 26ab1a1

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Sales/view/adminhtml/templates/order/invoice/create

1 file changed

+2
-2
lines changed

app/code/Magento/Sales/view/adminhtml/templates/order/invoice/create/items.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
</section>
133133

134134
<script>
135-
require(['jquery', 'prototype'], function($){
135+
require(['jquery', 'prototype'], function(jQuery){
136136

137137
//<![CDATA[
138138
var submitButtons = $$('.submit-button');
@@ -143,7 +143,7 @@ var fields = $$('.qty-input');
143143
updateButtons.each(function (elem) {elem.disabled=true;elem.addClassName('disabled');});
144144

145145
for(var i=0;i<fields.length;i++){
146-
$(fields[i]).on('keyup', checkButtonsRelation);
146+
jQuery(fields[i]).on('keyup', checkButtonsRelation);
147147
fields[i].baseValue = fields[i].value;
148148
}
149149

0 commit comments

Comments
 (0)