mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 11:20:39 -03:30
Increated timeout length for select a play post filter application. Post job launch send user to job detail page.
This commit is contained in:
parent
e7d58de007
commit
0fcfe6114a
@ -621,7 +621,7 @@ function JobDetailController ($scope, $compile, $routeParams, ClearScope, Breadc
|
||||
scope.activePlay = scope.plays[scope.plays.length - 1].id;
|
||||
setTimeout(function() {
|
||||
SelectPlay({ scope: scope, id: scope.activePlay });
|
||||
}, 500);
|
||||
}, 2000);
|
||||
}
|
||||
scope.searchSummaryHosts();
|
||||
};
|
||||
@ -651,7 +651,7 @@ function JobDetailController ($scope, $compile, $routeParams, ClearScope, Breadc
|
||||
scope.searchSummaryHosts();
|
||||
setTimeout(function() {
|
||||
SelectPlay({ scope: scope, id: scope.activePlay });
|
||||
}, 500);
|
||||
}, 2000);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@ -439,9 +439,7 @@ function($location, Wait, GetBasePath, LookUpInit, JobTemplateForm, CredentialLi
|
||||
}
|
||||
scope.removePlaybookLaunchFinished = scope.$on('PlaybookLaunchFinished', function() {
|
||||
var base = $location.path().replace(/^\//, '').split('/')[0];
|
||||
if (base !== 'jobs') {
|
||||
$location.path('/jobs');
|
||||
}
|
||||
$location.path('/jobs/' + new_job_id);
|
||||
});
|
||||
|
||||
if (scope.removeStartPlaybookRun) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user