forked from extern/egroupware
Avoid errors for personal categories
This commit is contained in:
parent
bbd146c0b9
commit
bc4857c376
@ -16,6 +16,9 @@ function check_owner(button) {
|
|||||||
{
|
{
|
||||||
owner = [owner];
|
owner = [owner];
|
||||||
}
|
}
|
||||||
|
// No owner probably means selectbox is read-only, so no need to check
|
||||||
|
if(owner == null) return true;
|
||||||
|
|
||||||
var all_users = owner.indexOf('0') >= 0;
|
var all_users = owner.indexOf('0') >= 0;
|
||||||
|
|
||||||
// If they checked all users, uncheck the others
|
// If they checked all users, uncheck the others
|
||||||
|
Loading…
Reference in New Issue
Block a user