mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 10:09:20 +03:00
Change viewModelTemplateID check for account popups
This commit is contained in:
parent
2cf752931e
commit
f6a7ca2146
1 changed files with 2 additions and 2 deletions
|
|
@ -54,7 +54,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// "Add account" popup (Settings → Accounts → Add account)
|
// "Add account" popup (Settings → Accounts → Add account)
|
||||||
if ("Account" === e.detail.viewModelTemplateID) {
|
if ("PopupsAccount" === e.detail.viewModelTemplateID) {
|
||||||
// Only for the "Add account" mode, not "Edit account".
|
// Only for the "Add account" mode, not "Edit account".
|
||||||
if (typeof e.detail.isNew === "function" && !e.detail.isNew()) {
|
if (typeof e.detail.isNew === "function" && !e.detail.isNew()) {
|
||||||
return;
|
return;
|
||||||
|
|
@ -88,4 +88,4 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
})(window.rl);
|
})(window.rl);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue