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

New commits:
commit 81b2e040f44c657bc653458f4807d790f19a855a
Author: László Németh <laszlo.nem...@collabora.com>
Date:   Fri Nov 6 13:14:36 2015 +0100

    fix Writer/Impress work

diff --git a/loleaflet/src/layer/tile/TileLayer.js 
b/loleaflet/src/layer/tile/TileLayer.js
index 3cdf098..203aa9a 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -124,7 +124,7 @@ L.TileLayer = L.GridLayer.extend({
                // cell).
                map.on('statusindicator',
                       function (e) {
-                        if (e.statusType === 'alltilesloaded') {
+                        if (e.statusType === 'alltilesloaded' && this._docType 
=== 'spreadsheet') {
                           this._onCellCursorShift(true);
                         }
                       },
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to