forked from extern/egroupware
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())
|
if (rights.split("").sort().toString() == this.aclCommonRights[i].split("").sort().toString())
|
||||||
rights = this.aclCommonRights[i];
|
rights = this.aclCommonRights[i];
|
||||||
}
|
}
|
||||||
if (jQuery.inArray(rights,this.aclCommonRights ) == -1)
|
if (jQuery.inArray(rights,this.aclCommonRights ) == -1 && rights !='lrswipcda')
|
||||||
{
|
{
|
||||||
aclCommonWidget.set_value('custom');
|
aclCommonWidget.set_value('custom');
|
||||||
}
|
}
|
||||||
|
else if (rights =='lrswipcda')
|
||||||
|
{
|
||||||
|
aclCommonWidget.set_value('akxeilprwts');
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
aclCommonWidget.set_value(rights);
|
aclCommonWidget.set_value(rights);
|
||||||
|
Loading…
Reference in New Issue
Block a user