KEYCLOAK-5940

This commit is contained in:
stianst 2017-11-30 11:30:33 +01:00 committed by Stian Thorgersen
parent 6bb04617a6
commit 4daf6aaec5

View file

@ -2282,8 +2282,9 @@ module.controller('RequiredActionsCtrl', function($scope, realm, unregisteredReq
} }
$scope.ok = function () { $scope.ok = function () {
$modalInstance.close(); $modalInstance.close();
RegisterRequiredAction.save({realm: realm.realm}, $scope.selected.selected); RegisterRequiredAction.save({realm: realm.realm}, $scope.selected.selected, function() {
$route.reload(); $route.reload();
});
}; };
$scope.cancel = function () { $scope.cancel = function () {
$modalInstance.dismiss('cancel'); $modalInstance.dismiss('cancel');