summaryrefslogtreecommitdiff
path: root/plugins/managesieve/managesieve.js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-09-20 02:39:40 -0700
committerAleksander Machniak <alec@alec.pl>2012-09-20 02:39:40 -0700
commit14467750970bff0c1e207e97b71850520ca9db9a (patch)
tree1b50a9e408d7f256753418e03f3ff340434350ba /plugins/managesieve/managesieve.js
parent4fd63805e59a4b196297e8d8627826f377ff8529 (diff)
parent4c4496bccc46e15f05d54235b420c0bff1306db2 (diff)
Merge pull request #24 from pawel-slowik/master
Sieve plugin - Initial support for enotify/notify (RFC5435, RFC5436)
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';