Fix display of Admin module on small devices

This commit is contained in:
Francis Lachapelle
2015-10-13 14:30:09 -04:00
parent 8924a2b670
commit 4da53b88b6
6 changed files with 148 additions and 107 deletions
@@ -19,6 +19,7 @@
vm.selectUser = selectUser;
vm.removeUser = removeUser;
vm.getTemplate = getTemplate;
vm.close = close;
vm.save = save;
vm.userToAdd = '';
@@ -69,6 +70,13 @@
}
}
function close() {
$state.go('administration.rights').then(function() {
delete vm.user.selectedFolder;
vm.user = null;
});
}
function save() {
stateFolder.$acl.$saveUsersRights(stateFolder.owner).then(function() {
$mdToast.show(