loleaflet/src/map/handler/Map.Keyboard.js |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 98312d6a09885a9933e3a9477be0e6570695e13b
Author: Pranav Kant <pran...@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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to