Improve ACL editor (Scheduler & Contacts)

This commit is contained in:
Francis Lachapelle
2015-06-12 12:03:58 -04:00
parent e385bf34d5
commit fb992db5ad
11 changed files with 120 additions and 153 deletions
@@ -225,7 +225,10 @@
if (zero) {
// Disable all rights
_.map(_.keys(this.rights), function(key) {
_this.rights[key] = 0;
if (angular.isString(_this.rights[key]))
_this.rights[key] = 'None';
else
_this.rights[key] = 0;
});
}
else {