Fix charge/retrait/edition essaye de compter directement la commande
This commit is contained in:
parent
0c210aa48c
commit
6fd07ee6f2
1 changed files with 9 additions and 3 deletions
|
@ -839,8 +839,10 @@ $(document).ready(function() {
|
|||
onOpen: function() {
|
||||
var that = this
|
||||
this.$content.find('input').on('keydown', function(e) {
|
||||
if (e.keyCode == 13)
|
||||
if (e.keyCode == 13) {
|
||||
e.preventDefault();
|
||||
that.$confirmButton.click();
|
||||
}
|
||||
});
|
||||
},
|
||||
onClose: function() { this._lastFocused = articleSelect; }
|
||||
|
@ -864,8 +866,10 @@ $(document).ready(function() {
|
|||
onOpen: function() {
|
||||
var that = this
|
||||
this.$content.find('input').on('keydown', function(e) {
|
||||
if (e.keyCode == 13)
|
||||
if (e.keyCode == 13) {
|
||||
e.preventDefault();
|
||||
that.$confirmButton.click();
|
||||
}
|
||||
});
|
||||
},
|
||||
onClose: function() { this._lastFocused = articleSelect; }
|
||||
|
@ -1025,8 +1029,10 @@ $(document).ready(function() {
|
|||
onOpen: function() {
|
||||
var that = this
|
||||
this.$content.find('input[name=amount]').on('keydown', function(e) {
|
||||
if (e.keyCode == 13)
|
||||
if (e.keyCode == 13) {
|
||||
e.preventDefault();
|
||||
that.$confirmButton.click();
|
||||
}
|
||||
});
|
||||
},
|
||||
onClose: function() { this._lastFocused = triInput; }
|
||||
|
|
Loading…
Reference in a new issue