mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 05:59:21 +03:00
Change handling of (token) errors due to #1706
This commit is contained in:
parent
02ea6c4359
commit
d00c953c88
25 changed files with 80 additions and 69 deletions
|
|
@ -57,7 +57,7 @@ window.Sieve = {
|
|||
Remote.request('FiltersScriptDelete',
|
||||
(iError, data) =>
|
||||
iError
|
||||
? setError(data?.ErrorMessageAdditional || getNotification(iError))
|
||||
? setError(data?.messageAdditional || getNotification(iError))
|
||||
: scripts.remove(script)
|
||||
,
|
||||
{name:script.name()}
|
||||
|
|
@ -69,7 +69,7 @@ window.Sieve = {
|
|||
Remote.request('FiltersScriptActivate',
|
||||
(iError, data) =>
|
||||
iError
|
||||
? setError(data?.ErrorMessageAdditional || iError)
|
||||
? setError(data?.messageAdditional || iError)
|
||||
: scripts.forEach(script => script.active(script.name() === name))
|
||||
,
|
||||
{name:name}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue