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

New commits:
commit 9d911fbf228223682bf26df128c09ae97a27c1dc
Author: Mihai Varga <mihai.va...@collabora.com>
Date:   Wed Nov 18 18:59:53 2015 +0200

    loleaflet: fixt ctrl + C (copy) on firefox

diff --git a/loleaflet/src/map/handler/Map.Keyboard.js 
b/loleaflet/src/map/handler/Map.Keyboard.js
index ec50e1b..a58c8a4 100644
--- a/loleaflet/src/map/handler/Map.Keyboard.js
+++ b/loleaflet/src/map/handler/Map.Keyboard.js
@@ -366,7 +366,10 @@ L.Map.Keyboard = L.Handler.extend({
                                L.Socket.sendMessage('uno .uno:SuperScript');
                                return true;
                }
-
+               if (e.type === 'keypress' && e.originalEvent.key === 'c' && 
e.originalEvent.ctrlKey) {
+                       // need to handle this separately for Firefox
+                       return true;
+               }
                return false;
        }
 });
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to