mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-20 18:08:02 +02:00
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…
x
Reference in New Issue
Block a user