loleaflet/src/map/Map.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 6c50fa323efb4e239e5b4f653164ac19ca107a81 Author: Henry Castro <hcas...@collabora.com> Date: Wed Apr 27 15:14:11 2016 -0400 loleaflet: progress bar: use socket state diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js index a177d79..c90035e 100644 --- a/loleaflet/src/map/Map.js +++ b/loleaflet/src/map/Map.js @@ -797,7 +797,8 @@ L.Map = L.Evented.extend({ _onUpdateProgress: function (e) { if (e.statusType === 'start') { - if (this._docLayer) { + if (this._socket.readyState === 1) { + // auto-save this.showBusy('Saving...', true); } else { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits