Not sure what to do yet with alias ui in users settings, so disable to make the ui itself work
This commit is contained in:
@@ -11,7 +11,11 @@ angular.module('Application').controller('UsersController', ['$scope', '$locatio
|
||||
$scope.groupsById = { };
|
||||
$scope.config = Client.getConfig();
|
||||
$scope.userInfo = Client.getUserInfo();
|
||||
$scope.mailConfig = {};
|
||||
|
||||
// FIXME this needs a whole lot of rework as it is used for alias ui, which now needs to be multidomain aware
|
||||
$scope.mailConfig = {
|
||||
enabled: false
|
||||
};
|
||||
|
||||
$scope.userremove = {
|
||||
busy: false,
|
||||
@@ -409,18 +413,7 @@ angular.module('Application').controller('UsersController', ['$scope', '$locatio
|
||||
});
|
||||
}
|
||||
|
||||
function getMailConfig() {
|
||||
Client.getMailConfig(function (error, mailConfig) {
|
||||
if (error) return console.error(error);
|
||||
|
||||
$scope.mailConfig = mailConfig;
|
||||
});
|
||||
}
|
||||
|
||||
Client.onReady(function () {
|
||||
getMailConfig();
|
||||
refresh();
|
||||
});
|
||||
Client.onReady(refresh);
|
||||
|
||||
// setup all the dialog focus handling
|
||||
['userAddModal', 'userRemoveModal', 'userEditModal', 'groupAddModal', 'groupRemoveModal'].forEach(function (id) {
|
||||
|
||||
Reference in New Issue
Block a user