mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-08 22:40:23 +01:00
Fix not being able to select other groups in categories but always User all
This commit is contained in:
parent
b84c150202
commit
f2ae2ef6b8
@ -14,7 +14,7 @@ function check_owner(element_id) {
|
|||||||
var all_users = $j(document.getElementById(element_id + '[0]'));
|
var all_users = $j(document.getElementById(element_id + '[0]'));
|
||||||
|
|
||||||
// If they checked all users, uncheck the others
|
// If they checked all users, uncheck the others
|
||||||
if(all_users.length > 0 && all_users.attr("checked")) {
|
if(all_users.length > 0 && all_users[0].checked) {
|
||||||
checkboxes.attr("checked",false);
|
checkboxes.attr("checked",false);
|
||||||
all_users.attr("checked", true);
|
all_users.attr("checked", true);
|
||||||
checkboxes = $j(':checkbox', document.getElementById(element_id)).filter(':checked');
|
checkboxes = $j(':checkbox', document.getElementById(element_id)).filter(':checked');
|
||||||
|
Loading…
Reference in New Issue
Block a user