loleaflet: show "Saving..." once the document is loaded
This commit is contained in:
parent
08b31ac3f5
commit
7a73b3fcb6
1 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue