Browse Source

fix repeat last symbol when press other key

pull/155/head
ufaks 8 years ago
committed by Vincent Van Rossem
parent
commit
50eefac7b7
  1. 7
      pos_keyboard/static/src/js/pos.js

7
pos_keyboard/static/src/js/pos.js

@ -156,7 +156,12 @@ odoo.define('pos_keyboard.pos', function (require) {
else if (token == KC_BACKSPACE) {
self.data.type = type.backspace;
ok = true;
}
}
else {
self.data.type = undefined;
self.data.val = undefined;
ok = false;
}
if (is_number) {
if (timeStamp + 50 > new Date().getTime()) {

Loading…
Cancel
Save