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

pull/7051/head
Aleksander Machniak 5 years ago
parent 03cee8f554
commit 338b25dec9

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

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

Loading…
Cancel
Save