summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-11-25 19:23:50 +0100
committerAleksander Machniak <alec@alec.pl>2012-11-25 19:23:50 +0100
commita648ba64897c80bb75f6ea5538381b1ff785c939 (patch)
tree1c23069f06825ac9b54d3b001c9f94969070691b
parent5926684aab72265d243142010d9dfa8d642efdb9 (diff)
Fixed filter selection after filter deletion (#1488832)
-rw-r--r--plugins/managesieve/Changelog1
-rw-r--r--plugins/managesieve/managesieve.js2
2 files changed, 2 insertions, 1 deletions
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 <plugin>/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;
}
};