forked from extern/egroupware
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
0a952f54a5
commit
92919a242a
@ -3398,7 +3398,7 @@ app.classes.mail = AppJS.extend(
|
|||||||
edit_acl: function(_action, _senders)
|
edit_acl: function(_action, _senders)
|
||||||
{
|
{
|
||||||
var mailbox = _senders[0].id.split('::');
|
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');
|
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