summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-07-04 11:38:50 +0200
committerAleksander Machniak <alec@alec.pl>2013-07-04 11:38:50 +0200
commitf001af99a706cf3f637a041f3e6808a1c59ea8c1 (patch)
tree36bb70d62158da13a4fec7ed28e67b2414dcb00a
parentc3762a5ad5ef8940b7c8d456675edc371f656c80 (diff)
Fix javascript error
-rw-r--r--plugins/managesieve/managesieve.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/managesieve/managesieve.js b/plugins/managesieve/managesieve.js
index 5a75ef1fd..5201284fa 100644
--- a/plugins/managesieve/managesieve.js
+++ b/plugins/managesieve/managesieve.js
@@ -660,8 +660,9 @@ function rule_adv_switch(id, elem)
function action_type_select(id)
{
+console.log(id);
var obj = document.getElementById('action_type' + id),
- v = obj.value(), enabled = {},
+ v = obj.value, enabled = {},
elems = {
mailbox: document.getElementById('action_mailbox' + id),
target: document.getElementById('action_target' + id),