mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 04:31:21 -03:30
AC-236 Fixed post job submission navigation.
This commit is contained in:
parent
37027088fd
commit
62849fb120
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user