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 () {
$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');