diff --git a/dev/View/Popup/SieveScript.js b/dev/View/Popup/SieveScript.js index 1ec2dbe32..a4dd37b2a 100644 --- a/dev/View/Popup/SieveScript.js +++ b/dev/View/Popup/SieveScript.js @@ -24,6 +24,7 @@ class SieveScriptPopupView extends AbstractViewNext { saveError: false, saveErrorText: '', rawActive: false, + allowToggle: false, script: null }); @@ -130,6 +131,7 @@ class SieveScriptPopupView extends AbstractViewNext { onShow(oScript) { this.script(oScript); this.rawActive(!oScript.allowFilters()); + this.allowToggle(oScript.allowFilters()); this.saveError(false); } diff --git a/snappymail/v/0.0.0/app/templates/Views/User/PopupsSieveScript.html b/snappymail/v/0.0.0/app/templates/Views/User/PopupsSieveScript.html index c01ed87b2..37c64ee8d 100644 --- a/snappymail/v/0.0.0/app/templates/Views/User/PopupsSieveScript.html +++ b/snappymail/v/0.0.0/app/templates/Views/User/PopupsSieveScript.html @@ -98,7 +98,7 @@