From f4bd85b8d0414f16e90f0e8ceaf0cc031df68f59 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sun, 13 Apr 2014 12:14:06 +0200 Subject: Fix disabled create filter action --- plugins/managesieve/Changelog | 1 + plugins/managesieve/managesieve.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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'); } -- cgit v1.2.3