forked from extern/egroupware
Lock mail tree by clicking on "empty trash" action and unlock it after the operation is finished
This commit is contained in:
parent
212639b8d2
commit
a25630b383
@ -1473,7 +1473,8 @@ app.classes.mail = AppJS.extend(
|
||||
var server = _senders[0].iface.id.split('::');
|
||||
var self = this;
|
||||
this.egw.message(this.egw.lang('empty trash'));
|
||||
egw.json('mail.mail_ui.ajax_emptyTrash',[server[0]],function(){self.lock_tree();})
|
||||
this.lock_tree();
|
||||
egw.json('mail.mail_ui.ajax_emptyTrash',[server[0]],function(){self.unlock_tree();})
|
||||
.sendRequest(true);
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user