mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-30 06:15:42 +00:00
(js) Only select checkboxes in ACL editor
This commit is contained in:
1 parent
6538f6d047
commit
6b5571ea2c
1 file changed
+2
-1
@@ -137,7 +137,8 @@
|
||||
*/
|
||||
Acl.prototype.$selectAllRights = function(user) {
|
||||
_.forEach(user.rights, function(value, right) {
|
||||
user.rights[right] = 1;
|
||||
if (angular.isNumber(user.rights[right]))
|
||||
user.rights[right] = 1;
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user