mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 03:31:10 -03:30
AC-236 Fixed post job submission navigation.
This commit is contained in:
@@ -21,8 +21,13 @@ angular.module('JobTemplateHelper', [ 'RestServices', 'Utilities', 'CredentialFo
|
||||
|
||||
function navigate(canceled) {
|
||||
//Decide where to send the user once the modal dialog closes
|
||||
if (!canceled && base == 'jobs') {
|
||||
scope.refreshJob();
|
||||
if (!canceled) {
|
||||
if (base == 'jobs') {
|
||||
scope.refreshJob();
|
||||
}
|
||||
else {
|
||||
$location.path('/jobs');
|
||||
}
|
||||
}
|
||||
else {
|
||||
$location.path('/' + base);
|
||||
|
||||
Reference in New Issue
Block a user