Managesieve: Fix locked UI after opening filter frame (#7007)

pull/7022/head
Aleksander Machniak 5 years ago
parent 59ac1ddb64
commit 1ef912555d

@ -1,6 +1,8 @@
CHANGELOG Roundcube Webmail
===========================
- Managesieve: Fix locked UI after opening filter frame (#7007)
RELEASE 1.4.0
-------------
- Elastic: Resizeable columns (#6929)

@ -426,13 +426,11 @@ rcube_webmail.prototype.load_managesieveframe = function(add_url, reset)
if (reset)
this.reset_filters_list();
if (this.env.contentframe && window.frames && window.frames[this.env.contentframe]) {
var lock = this.set_busy(true, 'loading'),
target = window.frames[this.env.contentframe];
var target = this.get_frame_window(this.env.contentframe),
url = this.url('plugin.managesieve-action', '_framed=1' + (add_url ? ('&' + add_url) : ''));
target.location.href = this.env.comm_path
+ '&_action=plugin.managesieve-action&_framed=1&_unlock=' + lock
+ (add_url ? ('&' + add_url) : '');
if (target) {
this.location_href(url, target, true);
}
};

Loading…
Cancel
Save