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
a28cbb4d7e
commit
1d8c630a17
@ -1541,7 +1541,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