mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Fix mail common ACL options, not to select "all" if all are selected
This commit is contained in:
parent
aa4c108fcf
commit
b5f6e35291
@ -2610,10 +2610,14 @@ app.classes.mail = AppJS.extend(
|
||||
if (rights.split("").sort().toString() == this.aclCommonRights[i].split("").sort().toString())
|
||||
rights = this.aclCommonRights[i];
|
||||
}
|
||||
if (jQuery.inArray(rights,this.aclCommonRights ) == -1)
|
||||
if (jQuery.inArray(rights,this.aclCommonRights ) == -1 && rights !='lrswipcda')
|
||||
{
|
||||
aclCommonWidget.set_value('custom');
|
||||
}
|
||||
else if (rights =='lrswipcda')
|
||||
{
|
||||
aclCommonWidget.set_value('akxeilprwts');
|
||||
}
|
||||
else
|
||||
{
|
||||
aclCommonWidget.set_value(rights);
|
||||
|
Loading…
Reference in New Issue
Block a user