Skip to content

Commit 1937254

Browse files
author
Olexandr Lysenko
committed
Merge branch 'MAGETWO-32992' into bugfixes
2 parents 9333eed + 1a60bf4 commit 1937254

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
@@ -118,7 +118,7 @@
118118
</div>
119119

120120
<script>
121-
require(['prototype'], function(){
121+
require(['jquery', 'prototype'], function($){
122122

123123
//<![CDATA[
124124
var submitButtons = $$('.submit-button');
@@ -129,7 +129,7 @@ var fields = $$('.qty-input');
129129
updateButtons.each(function (elem) {elem.disabled=true;elem.addClassName('disabled');});
130130

131131
for(var i=0;i<fields.length;i++){
132-
fields[i].observe('change', checkButtonsRelation)
132+
$(fields[i]).on('keyup', checkButtonsRelation);
133133
fields[i].baseValue = fields[i].value;
134134
}
135135

0 commit comments

Comments
 (0)