summaryrefslogtreecommitdiff
path: root/plugins/managesieve/managesieve.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-04-13 12:14:06 +0200
committerAleksander Machniak <alec@alec.pl>2014-04-13 12:15:34 +0200
commitf4bd85b8d0414f16e90f0e8ceaf0cc031df68f59 (patch)
tree709a6409b11a928db36ff0101c1fe961e2ed72e3 /plugins/managesieve/managesieve.php
parent4c7daf5ceaea1bc48eff117e1abe642d13445857 (diff)
Fix disabled create filter action
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 aba34251c..6adba4e2d 100644
--- a/plugins/managesieve/managesieve.php
+++ b/plugins/managesieve/managesieve.php
@@ -72,7 +72,7 @@ class managesieve extends rcube_plugin
// load localization
$this->add_texts('localization/');
- if (strpos($this->rc->action, 'plugin.managesieve') === 0) {
+ if ($this->rc->task == 'mail' || strpos($this->rc->action, 'plugin.managesieve') === 0) {
$this->include_script('managesieve.js');
}