summaryrefslogtreecommitdiff
path: root/plugins/managesieve
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-09-29 11:22:38 +0200
committerAleksander Machniak <alec@alec.pl>2014-09-29 11:24:38 +0200
commit34d179a69a8c64e1dca5bb96c11c7a90cbf3bd5a (patch)
tree18bd9114f520f2c78db8aba81493880f6a09efd8 /plugins/managesieve
parent5c3bbb9e0dfc75b16b66b5cae7fa7a17bb4c04b2 (diff)
Fix handling of smart list inputs1.0.3
Diffstat (limited to 'plugins/managesieve')
-rw-r--r--plugins/managesieve/managesieve.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/managesieve/managesieve.js b/plugins/managesieve/managesieve.js
index 7fcd9d9c6..932c72c93 100644
--- a/plugins/managesieve/managesieve.js
+++ b/plugins/managesieve/managesieve.js
@@ -738,6 +738,9 @@ function smart_field_init(field)
if (field.attr('disabled'))
area.hide();
+ // disable the original field anyway, we don't want it in POST
+ else
+ field.prop('disabled', true);
field.after(area);