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

Marco Cecchetti (via logerrit) logerrit at kemper.freedesktop.org
Mon Dec 9 09:52:53 UTC 2019


 loleaflet/src/map/handler/Map.FileInserter.js |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 1683bd31de8d685e701cac57a8002f6cd9d4626d
Author:     Marco Cecchetti <marco.cecchetti at collabora.com>
AuthorDate: Mon Dec 9 10:35:36 2019 +0100
Commit:     Marco Cecchetti <marco.cecchetti at collabora.com>
CommitDate: Mon Dec 9 10:35:59 2019 +0100

    loleaflet: insert local image inserts image twice
    
    That was caused by a doubled code line due to a backporting merging
    error
    
    Change-Id: I32db4f44f2f36d9551aa7b65379a9864443c3c03

diff --git a/loleaflet/src/map/handler/Map.FileInserter.js b/loleaflet/src/map/handler/Map.FileInserter.js
index 5bf305ec0..e1575ec15 100644
--- a/loleaflet/src/map/handler/Map.FileInserter.js
+++ b/loleaflet/src/map/handler/Map.FileInserter.js
@@ -130,7 +130,6 @@ L.Map.FileInserter = L.Handler.extend({
 			xmlHttp.onreadystatechange = function () {
 				if (xmlHttp.readyState === 4) {
 					map.hideBusy();
-					socket.sendMessage('insertfile name=' + name + ' type=' + type);
 					if (xmlHttp.status === 200) {
 						socket.sendMessage('insertfile name=' + name + ' type=' + type);
 					}


More information about the Libreoffice-commits mailing list