Fix var scope

pull/5742/merge
Aleksander Machniak 7 years ago
parent 31ffef67ad
commit f35e9dc4c8

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

Loading…
Cancel
Save