[Libreoffice-commits] online.git: loleaflet/src

Marco Cecchetti marco.cecchetti at collabora.com
Wed May 17 14:24:12 UTC 2017


 loleaflet/src/map/handler/Map.Keyboard.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit afe8e9d2457c33ae7524cd0b910eea36f532212e
Author: Marco Cecchetti <marco.cecchetti at collabora.com>
Date:   Wed May 17 16:19:45 2017 +0200

    loleaflet: broken shortcut for comments
    
    Change-Id: I08eae6a1ba5c22f863f73a2625803f1b38e6e415
    Reviewed-on: https://gerrit.libreoffice.org/37713
    Reviewed-by: Marco Cecchetti <mrcekets at gmail.com>
    Tested-by: Marco Cecchetti <mrcekets at gmail.com>

diff --git a/loleaflet/src/map/handler/Map.Keyboard.js b/loleaflet/src/map/handler/Map.Keyboard.js
index a159b687..812ea847 100644
--- a/loleaflet/src/map/handler/Map.Keyboard.js
+++ b/loleaflet/src/map/handler/Map.Keyboard.js
@@ -451,7 +451,7 @@ L.Map.Keyboard = L.Handler.extend({
 
 			// need to handle Ctrl + Alt + C separately for Firefox
 			if (e.originalEvent.key === 'c' && e.originalEvent.altKey) {
-				this._map._socket.sendMessage('uno .uno:InsertAnnotation');
+				this._map.insertComment();
 				return true;
 			}
 


More information about the Libreoffice-commits mailing list