summaryrefslogtreecommitdiff
path: root/plugins/managesieve/managesieve.js
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-06-24 11:59:46 +0200
committerThomas Bruederli <thomas@roundcube.net>2014-06-24 11:59:46 +0200
commitbde467d8da9fd78b169d58ece3e87ea99c6d3e68 (patch)
tree995fc34ccd576e5d3ef0b0bee1f154f116a08cd6 /plugins/managesieve/managesieve.js
parenta6a66b687f5ebb7ac085b5cc8812b41ae1af65df (diff)
parent79b25df70e33d07a376fd10bd73c388c1908f063 (diff)
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'plugins/managesieve/managesieve.js')
-rw-r--r--plugins/managesieve/managesieve.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/managesieve/managesieve.js b/plugins/managesieve/managesieve.js
index e81ab3332..5e14431fe 100644
--- a/plugins/managesieve/managesieve.js
+++ b/plugins/managesieve/managesieve.js
@@ -737,6 +737,13 @@ function action_type_select(id)
}
};
+function vacation_action_select()
+{
+ var selected = $('#vacation_action').val();
+
+ $('#action_target_span')[selected == 'discard' || selected == 'keep' ? 'hide' : 'show']();
+};
+
// Inititalizes smart list input
function smart_field_init(field)
{