mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 11:41:08 -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:
@@ -621,7 +621,7 @@ function JobDetailController ($scope, $compile, $routeParams, ClearScope, Breadc
|
|||||||
scope.activePlay = scope.plays[scope.plays.length - 1].id;
|
scope.activePlay = scope.plays[scope.plays.length - 1].id;
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
SelectPlay({ scope: scope, id: scope.activePlay });
|
SelectPlay({ scope: scope, id: scope.activePlay });
|
||||||
}, 500);
|
}, 2000);
|
||||||
}
|
}
|
||||||
scope.searchSummaryHosts();
|
scope.searchSummaryHosts();
|
||||||
};
|
};
|
||||||
@@ -651,7 +651,7 @@ function JobDetailController ($scope, $compile, $routeParams, ClearScope, Breadc
|
|||||||
scope.searchSummaryHosts();
|
scope.searchSummaryHosts();
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
SelectPlay({ scope: scope, id: scope.activePlay });
|
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() {
|
scope.removePlaybookLaunchFinished = scope.$on('PlaybookLaunchFinished', function() {
|
||||||
var base = $location.path().replace(/^\//, '').split('/')[0];
|
var base = $location.path().replace(/^\//, '').split('/')[0];
|
||||||
if (base !== 'jobs') {
|
$location.path('/jobs/' + new_job_id);
|
||||||
$location.path('/jobs');
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
if (scope.removeStartPlaybookRun) {
|
if (scope.removeStartPlaybookRun) {
|
||||||
|
|||||||
Reference in New Issue
Block a user