Increated timeout length for select a play post filter application. Post job launch send user to job detail page.

This commit is contained in:
chouseknecht 2014-05-16 14:54:40 -04:00
parent e7d58de007
commit 0fcfe6114a
2 changed files with 3 additions and 5 deletions

View File

@ -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);
};
}

View File

@ -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) {