Browse Source

fix repeat last symbol when press other key

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

5
pos_keyboard/static/src/js/pos.js

@ -157,6 +157,11 @@ odoo.define('pos_keyboard.pos', function (require) {
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