diff --git a/themes/src/main/resources/theme/base/admin/resources/js/controllers/realm.js b/themes/src/main/resources/theme/base/admin/resources/js/controllers/realm.js index bf8120382a..6a438e465a 100644 --- a/themes/src/main/resources/theme/base/admin/resources/js/controllers/realm.js +++ b/themes/src/main/resources/theme/base/admin/resources/js/controllers/realm.js @@ -2282,8 +2282,9 @@ module.controller('RequiredActionsCtrl', function($scope, realm, unregisteredReq } $scope.ok = function () { $modalInstance.close(); - RegisterRequiredAction.save({realm: realm.realm}, $scope.selected.selected); - $route.reload(); + RegisterRequiredAction.save({realm: realm.realm}, $scope.selected.selected, function() { + $route.reload(); + }); }; $scope.cancel = function () { $modalInstance.dismiss('cancel');