From a648ba64897c80bb75f6ea5538381b1ff785c939 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sun, 25 Nov 2012 19:23:50 +0100 Subject: Fixed filter selection after filter deletion (#1488832) --- plugins/managesieve/Changelog | 1 + plugins/managesieve/managesieve.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/managesieve') diff --git a/plugins/managesieve/Changelog b/plugins/managesieve/Changelog index 4b839a8b2..6baaa0499 100644 --- a/plugins/managesieve/Changelog +++ b/plugins/managesieve/Changelog @@ -1,5 +1,6 @@ - Fixed filter activation/deactivation confirmation message (#1488765) - Moved rcube_* classes to /lib/Roundcube for compat. with Roundcube Framework autoloader +- Fixed filter selection after filter deletion (#1488832) * version 6.0 [2012-10-03] ----------------------------------------------------------- diff --git a/plugins/managesieve/managesieve.js b/plugins/managesieve/managesieve.js index bbc10793c..6bf99ac26 100644 --- a/plugins/managesieve/managesieve.js +++ b/plugins/managesieve/managesieve.js @@ -373,7 +373,7 @@ rcube_webmail.prototype.load_managesieveframe = function(id) target = window.frames[this.env.contentframe]; var msgid = this.set_busy(true, 'loading'); target.location.href = this.env.comm_path+'&_action=plugin.managesieve&_framed=1' - +(id ? '&_fid='+id : '')+'&_unlock='+msgid; + +(has_id ? '&_fid='+id : '')+'&_unlock='+msgid; } }; -- cgit v1.2.3