Fix javascript error

pull/85/head
Aleksander Machniak 12 years ago
parent c3762a5ad5
commit f001af99a7

@ -660,8 +660,9 @@ function rule_adv_switch(id, elem)
function action_type_select(id) function action_type_select(id)
{ {
console.log(id);
var obj = document.getElementById('action_type' + id), var obj = document.getElementById('action_type' + id),
v = obj.value(), enabled = {}, v = obj.value, enabled = {},
elems = { elems = {
mailbox: document.getElementById('action_mailbox' + id), mailbox: document.getElementById('action_mailbox' + id),
target: document.getElementById('action_target' + id), target: document.getElementById('action_target' + id),

Loading…
Cancel
Save