mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 00:47:04 +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;
|
self.saving = false;
|
||||||
|
|
||||||
if (StorageResultType.Success === result && data && data.Result) {
|
if (StorageResultType.Success === result && data && data.Result) {
|
||||||
|
script.exists() || SieveStore.scripts.push(script);
|
||||||
script.exists(true);
|
script.exists(true);
|
||||||
script.hasChanges(false);
|
script.hasChanges(false);
|
||||||
SieveStore.scripts.push(script);
|
|
||||||
} else {
|
} else {
|
||||||
self.saveError(true);
|
self.saveError(true);
|
||||||
self.saveErrorText((data && data.ErrorCode)
|
self.saveErrorText((data && data.ErrorCode)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue