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

This commit is contained in:
Henry Castro 2016-04-23 19:12:15 -04:00
parent 08b31ac3f5
commit 7a73b3fcb6

View file

@ -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);