summaryrefslogtreecommitdiff
path: root/plugins/managesieve
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:14:06 +0200
commit056d458ed69ae1ed3db1f1b36dff91dc68b53303 (patch)
tree5e1875bec6f287eccab2614282899690337b9cbd /plugins/managesieve
parentfaa9c89236479f070cd28272b7c2293642cd1e56 (diff)
Fix disabled create filter action
Diffstat (limited to 'plugins/managesieve')
-rw-r--r--plugins/managesieve/Changelog1
-rw-r--r--plugins/managesieve/managesieve.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/managesieve/Changelog b/plugins/managesieve/Changelog
index afdafed28..00aaf53bf 100644
--- a/plugins/managesieve/Changelog
+++ b/plugins/managesieve/Changelog
@@ -1,4 +1,5 @@
- Added optional separate interface for out-of-office management (#1488266)
+- Fix disabled "create filter" action
* version 7.2 [2014-02-14]
-----------------------------------------------------------
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');
}