summaryrefslogtreecommitdiff
path: root/plugins/managesieve/managesieve.js
diff options
context:
space:
mode:
authorPaweł Słowik <pawel.slowik@iq.pl>2012-08-30 20:11:44 +0200
committerPaweł Słowik <pawel.slowik@iq.pl>2012-08-30 20:22:44 +0200
commit2e7bd6dab7de8553984d1d31034b34c595cef5ee (patch)
tree0b4b2b7295c0a7b867036aab3eda8406a32c1d2b /plugins/managesieve/managesieve.js
parent2ac00a258b9aa859ea78da25cd906e1709df5b75 (diff)
Sieve enotify/notify - GUI
Diffstat (limited to 'plugins/managesieve/managesieve.js')
-rw-r--r--plugins/managesieve/managesieve.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/managesieve/managesieve.js b/plugins/managesieve/managesieve.js
index f447719a2..bbc10793c 100644
--- a/plugins/managesieve/managesieve.js
+++ b/plugins/managesieve/managesieve.js
@@ -639,7 +639,8 @@ function action_type_select(id)
target_area: document.getElementById('action_target_area' + id),
flags: document.getElementById('action_flags' + id),
vacation: document.getElementById('action_vacation' + id),
- set: document.getElementById('action_set' + id)
+ set: document.getElementById('action_set' + id),
+ notify: document.getElementById('action_notify' + id)
};
if (obj.value == 'fileinto' || obj.value == 'fileinto_copy') {
@@ -660,6 +661,9 @@ function action_type_select(id)
else if (obj.value == 'set') {
enabled.set = 1;
}
+ else if (obj.value == 'notify') {
+ enabled.notify = 1;
+ }
for (var x in elems) {
elems[x].style.display = !enabled[x] ? 'none' : 'inline';