[Libreoffice-commits] online.git: loleaflet/src
Henry Castro
hcastro at collabora.com
Sat Apr 23 23:13:39 UTC 2016
loleaflet/src/map/Map.js | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
New commits:
commit 7a73b3fcb64d0055a62c3ab03e42bf8f56694436
Author: Henry Castro <hcastro at 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);
More information about the Libreoffice-commits
mailing list