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

New commits:
commit f63ca11bd2174c2a2ef84c0a9ff64d1e054f0020
Author:     Henry Castro <hcas...@collabora.com>
AuthorDate: Wed Mar 11 10:47:34 2020 -0400
Commit:     Henry Castro <hcas...@collabora.com>
CommitDate: Thu Mar 12 01:20:47 2020 +0100

    loleaflet: fix printing document in IE11
    
    Change-Id: I816ba7209ebfe8d051cbd6cef054245b9ab08950
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90334
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Henry Castro <hcas...@collabora.com>

diff --git a/loleaflet/src/layer/tile/TileLayer.js 
b/loleaflet/src/layer/tile/TileLayer.js
index 9de7db98d..b3f0bf896 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -817,7 +817,7 @@ L.TileLayer = L.GridLayer.extend({
                        this._map.fire('postMessage', {msgId: 'Download_As', 
args: {Type: command.id, URL: url}});
                }
                else 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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to