mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Consider INBOX as default folder for edit ACL.
-Fix selecting edit acl from context menu on mail profile name (root folder) gives an javascript error
This commit is contained in:
parent
d9bcab4f58
commit
b2d03e62fe
@ -3398,7 +3398,7 @@ app.classes.mail = AppJS.extend(
|
||||
edit_acl: function(_action, _senders)
|
||||
{
|
||||
var mailbox = _senders[0].id.split('::');
|
||||
var folder = mailbox[1], acc_id = mailbox[0];
|
||||
var folder = mailbox[1] || 'INBOX', acc_id = mailbox[0];
|
||||
this.egw.open_link('mail.mail_acl.edit&mailbox='+ jQuery.base64Encode(folder)+'&acc_id='+acc_id, '_blank', '640x480');
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user