summaryrefslogtreecommitdiff
path: root/plugins/managesieve
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-10-14 07:27:08 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-10-14 07:27:08 +0000
commit86ea4952cf85f2646fbe919b2c78d98a77438bd5 (patch)
treea226412b3fef9bd39e17da47c1bf5ababb8ce2b2 /plugins/managesieve
parentc02d0cc86b2b57e1189450b601fd41f0d4f49b1b (diff)
- Fix set_busy() usage after changes in core
git-svn-id: https://svn.roundcube.net/trunk@4086 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'plugins/managesieve')
-rw-r--r--plugins/managesieve/managesieve.js8
1 files changed, 4 insertions, 4 deletions
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;
}
};