[Libreoffice-commits] online.git: loleaflet/src
Marco Cecchetti
marco.cecchetti at collabora.com
Mon Oct 31 16:50:06 UTC 2016
loleaflet/src/map/handler/Map.Print.js | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 8c522c44d101c0c5e3e1c51b59249266cef4e9d3
Author: Marco Cecchetti <marco.cecchetti at collabora.com>
Date: Mon Oct 31 17:43:01 2016 +0100
loleaflet: print dialog: it seems that this magic hack is no more needed
Change-Id: I5dc3af5d8c70b381638f82de14ea47b1627237b9
diff --git a/loleaflet/src/map/handler/Map.Print.js b/loleaflet/src/map/handler/Map.Print.js
index d121c7e..9a9743f 100644
--- a/loleaflet/src/map/handler/Map.Print.js
+++ b/loleaflet/src/map/handler/Map.Print.js
@@ -49,8 +49,6 @@ L.Map.Print = L.Handler.extend({
_onIframeLoaded: function () {
this._printIframe.contentWindow.focus(); // Required for IE
this._printIframe.contentWindow.print();
- // couldn't find another way to remove it
- setTimeout(L.bind(this._closePrintDialog, this), 1000);
},
_closePrintDialog: function () {
More information about the Libreoffice-commits
mailing list