mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Bugfix: don't push existing SieveScript on scripts stack
This commit is contained in:
parent
6f36d4b906
commit
3ed7b53f68
1 changed files with 1 additions and 1 deletions
|
|
@ -57,9 +57,9 @@ class SieveScriptPopupView extends AbstractViewNext {
|
|||
self.saving = false;
|
||||
|
||||
if (StorageResultType.Success === result && data && data.Result) {
|
||||
script.exists() || SieveStore.scripts.push(script);
|
||||
script.exists(true);
|
||||
script.hasChanges(false);
|
||||
SieveStore.scripts.push(script);
|
||||
} else {
|
||||
self.saveError(true);
|
||||
self.saveErrorText((data && data.ErrorCode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue