loleaflet/src/map/Map.js |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

New commits:
commit 7a73b3fcb64d0055a62c3ab03e42bf8f56694436
Author: Henry Castro <hcas...@collabora.com>
Date:   Sat Apr 23 19:12:15 2016 -0400

    loleaflet: show "Saving..." once the document is loaded

diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index 69c8b25..de7ccec 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -763,7 +763,12 @@ L.Map = L.Evented.extend({
 
        _onUpdateProgress: function (e) {
                if (e.statusType === 'start') {
-                       this.showBusy('Loading...', true);
+                       if (this._docLayer) {
+                               this.showBusy('Saving...', true);
+                       }
+                       else {
+                               this.showBusy('Loading...', true);
+                       }
                }
                else if (e.statusType === 'setvalue') {
                        this._progressBar.setValue(e.value);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to