[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-4-0' - loleaflet/src
Henry Castro (via logerrit)
logerrit at kemper.freedesktop.org
Thu Mar 12 11:05:25 UTC 2020
loleaflet/src/layer/tile/TileLayer.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 42d0f8079f3124bf567c8f5473c0bbc1cb82d143
Author: Henry Castro <hcastro at collabora.com>
AuthorDate: Wed Mar 11 10:47:34 2020 -0400
Commit: Andras Timar <andras.timar at collabora.com>
CommitDate: Thu Mar 12 12:05:07 2020 +0100
loleaflet: fix printing document in IE11
Change-Id: I816ba7209ebfe8d051cbd6cef054245b9ab08950
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90334
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Henry Castro <hcastro at collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90367
Reviewed-by: Andras Timar <andras.timar at collabora.com>
diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js
index b940567dc..c70012314 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -593,7 +593,7 @@ L.TileLayer = L.GridLayer.extend({
this._map.hideBusy();
if (command.id === 'print') {
- if (L.Browser.gecko || L.Browser.edge || this._map.options.print === false) {
+ if (L.Browser.gecko || L.Browser.edge || L.Browser.ie || this._map.options.print === false) {
// the print dialog doesn't work well on firefox
// due to a pdf.js issue - https://github.com/mozilla/pdf.js/issues/5397
// open the pdf file in a new tab so that that user can print it directly in the browser's
More information about the Libreoffice-commits
mailing list