summaryrefslogtreecommitdiff
path: root/plugins
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
parent4c7daf5ceaea1bc48eff117e1abe642d13445857 (diff)
Fix disabled create filter action
Diffstat (limited to 'plugins')
-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');
}