[Libreoffice-commits] online.git: loleaflet/src
Pranav Kant
pranavk at collabora.co.uk
Tue Feb 13 17:06:53 UTC 2018
loleaflet/src/map/handler/Map.Keyboard.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 98312d6a09885a9933e3a9477be0e6570695e13b
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Tue Feb 13 22:36:14 2018 +0530
Fix space not working with IME
Change-Id: Ie84abacca1f387373e1b6feda3f7e2975f772392
diff --git a/loleaflet/src/map/handler/Map.Keyboard.js b/loleaflet/src/map/handler/Map.Keyboard.js
index 6c4b1dc5..39103dd3 100644
--- a/loleaflet/src/map/handler/Map.Keyboard.js
+++ b/loleaflet/src/map/handler/Map.Keyboard.js
@@ -384,8 +384,8 @@ L.Map.Keyboard = L.Handler.extend({
if (!this._keyHandled && this._bufferedTextInputEvent) {
var textInputData = this._bufferedTextInputEvent.originalEvent.data;
charCode = e.originalEvent.keyCode;
- for (var idx = 0; i < textInputData.length; i++) {
- postEventFn.call(eventObject, 'input', textInputData[idx].charCodeAt(), 0);
+ for (var idx = 0; idx < textInputData.length; idx++) {
+ keyEventFn('input', textInputData[idx].charCodeAt(), 0);
}
}
postEventFn.call(eventObject, 'up', charCode, unoKeyCode);
More information about the Libreoffice-commits
mailing list