[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-3-1' - loleaflet/src

Pranav Kant pranavk at collabora.co.uk
Tue Feb 20 09:20:02 UTC 2018


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

New commits:
commit f604f1d04652366831a125c8d8d6e81dfd6b8d89
Author: Pranav Kant <pranavk at collabora.co.uk>
Date:   Tue Feb 20 12:44:38 2018 +0530

    Fix double handling of ctrl key
    
    Regressed from 1e91799663945fdfde84385bcfbb96fd03c6fe2e
    
    Thanks Aron for bisecting.
    
    Change-Id: Ida2a62d74440083e747903562a0c9e6a5a550eb1
    (cherry picked from commit 77a8f5b2e7652c4e6021f23d2dbb0dc450a7df37)
    Reviewed-on: https://gerrit.libreoffice.org/50029
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index ad092edc..94f60dfa 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -692,7 +692,7 @@ L.Map = L.Evented.extend({
 			throw new Error('Map container is already initialized.');
 		}
 
-		var textAreaContainer = L.DomUtil.create('div', 'clipboard-container', container);
+		var textAreaContainer = L.DomUtil.create('div', 'clipboard-container', container.parentElement);
 		textAreaContainer.id = 'doc-clipboard-container';
 		this._textArea = L.DomUtil.create('input', 'clipboard', textAreaContainer);
 		this._textArea.setAttribute('type', 'text');


More information about the Libreoffice-commits mailing list