From 86ea4952cf85f2646fbe919b2c78d98a77438bd5 Mon Sep 17 00:00:00 2001 From: alec Date: Thu, 14 Oct 2010 07:27:08 +0000 Subject: - Fix set_busy() usage after changes in core git-svn-id: https://svn.roundcube.net/trunk@4086 208e9e7b-5314-0410-a742-e7e81cd9613c --- plugins/managesieve/managesieve.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/managesieve') diff --git a/plugins/managesieve/managesieve.js b/plugins/managesieve/managesieve.js index 01d2ddc1c..6b96561b4 100644 --- a/plugins/managesieve/managesieve.js +++ b/plugins/managesieve/managesieve.js @@ -250,8 +250,8 @@ rcube_webmail.prototype.load_managesieveframe = function(id) if (this.env.contentframe && window.frames && window.frames[this.env.contentframe]) { target = window.frames[this.env.contentframe]; - this.set_busy(true, 'loading'); - target.location.href = this.env.comm_path+'&_action=plugin.managesieve&_framed=1&_fid='+id; + var msgid = this.set_busy(true, 'loading'); + target.location.href = this.env.comm_path+'&_action=plugin.managesieve&_framed=1&_fid='+id+'&_unlock='+msgid; } }; @@ -464,8 +464,8 @@ rcube_webmail.prototype.managesieve_setadd = function() if (this.env.contentframe && window.frames && window.frames[this.env.contentframe]) { target = window.frames[this.env.contentframe]; - this.set_busy(true, 'loading'); - target.location.href = this.env.comm_path+'&_action=plugin.managesieve&_framed=1&_newset=1'; + var msgid = this.set_busy(true, 'loading'); + target.location.href = this.env.comm_path+'&_action=plugin.managesieve&_framed=1&_newset=1&_unlock='+msgid; } }; -- cgit v1.2.3