summaryrefslogtreecommitdiff
path: root/plugins/managesieve/managesieve.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-06-14 13:15:13 +0200
committerAleksander Machniak <alec@alec.pl>2013-06-14 13:15:13 +0200
commit5c6e74b176705b595aed3f33c89c9632bb49c587 (patch)
tree6cb74629966bcdecc69e14bfdfdf9216431dd2b2 /plugins/managesieve/managesieve.php
parentf41708ced00e4e173eba11fb5a3b0d794d8cf710 (diff)
Fix js error on operator change
Diffstat (limited to 'plugins/managesieve/managesieve.php')
-rw-r--r--plugins/managesieve/managesieve.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/managesieve/managesieve.php b/plugins/managesieve/managesieve.php
index 63ca97a70..0dfe05a6f 100644
--- a/plugins/managesieve/managesieve.php
+++ b/plugins/managesieve/managesieve.php
@@ -1353,7 +1353,7 @@ class managesieve extends rcube_plugin
$select_op = new html_select(array('name' => "_rule_op[]", 'id' => 'rule_op'.$id,
'style' => 'display:' .($rule['test']!='size' ? 'inline' : 'none'),
'class' => 'operator_selector',
- 'onchange' => 'rule_op_select('.$id.')'));
+ 'onchange' => 'rule_op_select(this, '.$id.')'));
$select_op->add(rcube::Q($this->gettext('filtercontains')), 'contains');
$select_op->add(rcube::Q($this->gettext('filternotcontains')), 'notcontains');
$select_op->add(rcube::Q($this->gettext('filteris')), 'is');