mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 18:19:22 +03:00
parent
dde42c6190
commit
e211899c7b
12 changed files with 191 additions and 18 deletions
|
|
@ -8254,6 +8254,7 @@ function PopupsComposeViewModel()
|
|||
this.aDraftInfo = null;
|
||||
this.sInReplyTo = '';
|
||||
this.bFromDraft = false;
|
||||
this.bSkipNext = false;
|
||||
this.sReferences = '';
|
||||
|
||||
this.bAllowIdentities = RL.settingsGet('AllowIdentities');
|
||||
|
|
@ -8520,6 +8521,8 @@ function PopupsComposeViewModel()
|
|||
this.savedError(false);
|
||||
this.saving(true);
|
||||
|
||||
this.bSkipNext = true;
|
||||
|
||||
RL.cache().setFolderHash(RL.data().draftFolder(), '');
|
||||
|
||||
RL.remote().saveMessage(
|
||||
|
|
@ -8545,8 +8548,9 @@ function PopupsComposeViewModel()
|
|||
|
||||
RL.sub('interval.1m', function () {
|
||||
if (this.modalVisibility() && !RL.data().draftFolderNotEnabled() && !this.isEmptyForm(false) &&
|
||||
!this.saving() && !this.sending() && !this.savedError())
|
||||
!this.bSkipNext && !this.saving() && !this.sending() && !this.savedError())
|
||||
{
|
||||
this.bSkipNext = false;
|
||||
this.saveCommand();
|
||||
}
|
||||
}, this);
|
||||
|
|
@ -19487,6 +19491,10 @@ RainLoopApp.prototype.bootstart = function ()
|
|||
RL.quota();
|
||||
});
|
||||
|
||||
RL.sub('interval.10m', function () {
|
||||
RL.folders();
|
||||
});
|
||||
|
||||
_.delay(function () {
|
||||
RL.folderInformationMultiply(true);
|
||||
}, 500);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue