diff --git a/static/js/controllers.js b/static/js/controllers.js index c0424d444..89cc71309 100644 --- a/static/js/controllers.js +++ b/static/js/controllers.js @@ -1434,7 +1434,7 @@ function OrgViewCtrl($rootScope, $scope, ApiService, $routeParams) { loadOrganization(); } -function OrgAdminCtrl($rootScope, $scope, Restangular, $routeParams, UserService, PlanService, ApiService) { +function OrgAdminCtrl($rootScope, $scope, $timeout, Restangular, $routeParams, UserService, PlanService, ApiService) { var orgname = $routeParams.orgname; // Load the list of plans. @@ -1481,7 +1481,7 @@ function OrgAdminCtrl($rootScope, $scope, Restangular, $routeParams, UserService $scope.changingOrganization = false; $scope.changeEmailForm.$setPristine(); $scope.organization = org; - }, function(resp) { + }, function(result) { $scope.changingOrganization = false; $scope.changeEmailError = result.data.message; $timeout(function() { diff --git a/static/partials/org-admin.html b/static/partials/org-admin.html index 927caae26..7a7a6426e 100644 --- a/static/partials/org-admin.html +++ b/static/partials/org-admin.html @@ -32,7 +32,7 @@