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

New commits:
commit 59c0d863fc47c637e1ea2733acf36befc6fb6b27
Author: Jan Holesovsky <ke...@collabora.com>
Date:   Fri Jan 15 08:58:50 2016 +0100

    loleaflet: Fix paste in Firefox.

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

Reply via email to