Project:
View Revisions: Issue #33906 | [ Back to Issue ] | ||
Summary | 0033906: Chrome is deprecating some KeyboardEvents | ||
Revision | 2016-09-06 08:47 by guillermogil | ||
Description | Chrome is deprecating some KeyboardEvents On login on WebPOS con Chrome 53 the following message is appearing: 'KeyboardEvent.keyIdentifier' is deprecated and will be removed in M54, around October 2016. See https://www.chromestatus.com/features/5316065118650368 [^] for more details. We are currently using some of them: keeperKey: function(k) { OB.debug('keeperKey - keyCode: ' + k.keyCode + " - keyIdentifier: " + k.keyIdentifier + " - charCode: " + k.charCode + " - which: " + k.which); OB.MobileApp.view.waterfall('onGlobalKeypress', { keyboardEvent: k }); } keypressHandler: function(inSender, inEvent) { OB.debug('keypressHandler - keyCode: ' + inEvent.keyCode + " - keyIdentifier: " + inEvent.keyIdentifier + " - charCode: " + inEvent.charCode + " - which: " + inEvent.which); if (OB.MobileApp.model.get('useBarcode') && this.scanMode) { return; } if (OB.MobileApp.model.get('useBarcode') && OB.MobileApp.keyPressProcessed) { delete OB.MobileApp.keyPressProcessed; } this.waterfall('onGlobalKeypress', { keyboardEvent: inEvent }); } |
||
Revision | 2016-09-06 08:27 by guillermogil | ||
Description | Chrome is deprecating some KeyboardEvents On login on WebPOS con Chrome 53 the following message is appearing: 'KeyboardEvent.keyIdentifier' is deprecated and will be removed in M54, around October 2016. See https://www.chromestatus.com/features/5316065118650368 [^] for more details. We are currently using some of them: keeperKey: function(k) { OB.debug('keeperKey - keyCode: ' + k.keyCode + " - keyIdentifier: " + k.keyIdentifier + " - charCode: " + k.charCode + " - which: " + k.which); OB.MobileApp.view.waterfall('onGlobalKeypress', { keyboardEvent: k }); } keypressHandler: function(inSender, inEvent) { OB.debug('keypressHandler - keyCode: ' + inEvent.keyCode + " - keyIdentifier: " + inEvent.keyIdentifier + " - charCode: " + inEvent.charCode + " - which: " + inEvent.which); if (OB.MobileApp.model.get('useBarcode') && this.scanMode) { return; } if (OB.MobileApp.model.get('useBarcode') && OB.MobileApp.keyPressProcessed) { delete OB.MobileApp.keyPressProcessed; } this.waterfall('onGlobalKeypress', { keyboardEvent: inEvent }); } It should be needed to review globalKeypressHandler functionality. |
Copyright © 2000 - 2009 MantisBT Group |