$scope.AddTenant = function() {
CpeuiSvc.addTenant($scope.tenantId, function() {
- $scope.updateView();
+ $scope.updateTenantView();
});
};
$scope.tenantDialog = new CpeuiDialogs.Dialog('AddTenant', {},
function(obj) {
CpeuiSvc.addTenant(obj.id, function() {
- $scope.updateView();
+ $scope.updateTenantView();
});
});
$scope.DeleteTenant = function(tenantID) {
CpeuiDialogs.confirm(function() {
CpeuiSvc.deleteTenant(tenantID, function() {
- $scope.updateView();
+ $scope.updateTenantView();
});
});
};