loleaflet/src/layer/tile/TileLayer.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a411e5b4c2dfe6d37f525fc43e04268bd74f7759
Author: Pranav Kant <pran...@collabora.co.uk>
Date:   Wed Apr 5 17:17:32 2017 +0530

    Fix cannot paste into the document
    
    Change-Id: I14eac943ee1b6ef83e2ea1707e34218bd85b4b13

diff --git a/loleaflet/src/layer/tile/TileLayer.js 
b/loleaflet/src/layer/tile/TileLayer.js
index a5ea4bcd..dd2331d6 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -1741,7 +1741,7 @@ L.TileLayer = L.GridLayer.extend({
                e = e.originalEvent;
                e.preventDefault();
                var pasteString = L.Compatibility.clipboardGet(e);
-               if (pasteString === 'false' || !!pasteString || pasteString === 
this._selectionTextHash) {
+               if (pasteString === 'false' || !pasteString || pasteString === 
this._selectionTextHash) {
                        // If there is nothing to paste in clipboard, no harm in
                        // issuing a .uno:Paste in case there is something 
internally copied in the document
                        // or if the content of the clipboard did not change, 
we surely must do a rich paste
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to