mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-25 16:42:34 +00:00
KEYCLOAK-1969
Admin console displays Clients flow page when execution or execution flow is created.
This commit is contained in:
@@ -1657,12 +1657,12 @@ module.controller('CreateExecutionFlowCtrl', function($scope, realm, topFlow, pa
|
||||
$scope.save = function() {
|
||||
$scope.flow.provider = $scope.provider.id;
|
||||
CreateExecutionFlow.save({realm: realm.realm, alias: parentFlow.alias}, $scope.flow, function() {
|
||||
$location.url("/realms/" + realm.realm + "/authentication/flows/" + topFlow);
|
||||
$location.url("/realms/" + realm.realm + "/authentication/flows/" + parentFlow.alias);
|
||||
Notifications.success("Flow Created.");
|
||||
})
|
||||
}
|
||||
$scope.cancel = function() {
|
||||
$location.url("/realms/" + realm.realm + "/authentication/flows/" + topFlow);
|
||||
$location.url("/realms/" + realm.realm + "/authentication/flows/" + parentFlow.alias);
|
||||
};
|
||||
});
|
||||
|
||||
@@ -1671,7 +1671,7 @@ module.controller('CreateExecutionCtrl', function($scope, realm, topFlow, parent
|
||||
Notifications, $location) {
|
||||
$scope.realm = realm;
|
||||
$scope.parentFlow = parentFlow;
|
||||
console.log('parentFlow.providerId: ' + parentFlow.providerId);
|
||||
console.debug('parentFlow.providerId: ' + parentFlow.providerId);
|
||||
if (parentFlow.providerId == 'form-flow') {
|
||||
$scope.providers = formActionProviders;
|
||||
} else if (parentFlow.providerId == 'client-flow') {
|
||||
@@ -1690,12 +1690,12 @@ module.controller('CreateExecutionCtrl', function($scope, realm, topFlow, parent
|
||||
provider: $scope.provider.id
|
||||
}
|
||||
CreateExecution.save({realm: realm.realm, alias: parentFlow.alias}, execution, function() {
|
||||
$location.url("/realms/" + realm.realm + "/authentication/flows/" + topFlow);
|
||||
$location.url("/realms/" + realm.realm + "/authentication/flows/" + parentFlow.alias);
|
||||
Notifications.success("Execution Created.");
|
||||
})
|
||||
}
|
||||
$scope.cancel = function() {
|
||||
$location.url("/realms/" + realm.realm + "/authentication/flows/" + topFlow);
|
||||
$location.url("/realms/" + realm.realm + "/authentication/flows/" + parentFlow.alias);
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user