mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 03:47:36 -02: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) {
|
function navigate(canceled) {
|
||||||
//Decide where to send the user once the modal dialog closes
|
//Decide where to send the user once the modal dialog closes
|
||||||
if (!canceled && base == 'jobs') {
|
if (!canceled) {
|
||||||
scope.refreshJob();
|
if (base == 'jobs') {
|
||||||
|
scope.refreshJob();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$location.path('/jobs');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$location.path('/' + base);
|
$location.path('/' + base);
|
||||||
|
|||||||
Reference in New Issue
Block a user