pass useStoryboard to logABug

The useStoryboard variable is being defined but was not being passed
to logABug. It may have been working as a global, but it is more clear
as an argument to the function, so pass it in.

Change-Id: I554b6089c9d3cbfb216108a051de835d3cd449a4
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2018-09-17 09:50:08 -04:00
parent b41e1a1b0d
commit faa73bfa1d
2 changed files with 2 additions and 2 deletions

View File

@ -79,5 +79,5 @@
lineFeed + encodeURI(gitSha) +
lineFeed + encodeURI(gitURL) ;
logABug(bugTitle, bugProject, fieldComment, fieldTags, repositoryName);
logABug(bugTitle, bugProject, fieldComment, fieldTags, repositoryName, useStoryboard);
</script>

View File

@ -104,7 +104,7 @@ $('div.deprecated > p').prepend('<div class="fa fa-fw fa-minus-circle">&nbsp;</d
// Gives the log a bug icon the information it needs to generate the bug in
// Launchpad with pre-filled information such as git SHA, git.openstack.org
// source URL, published document URL and tag.
function logABug(bugTitle, bugProject, fieldComment, fieldTags, repositoryName) {
function logABug(bugTitle, bugProject, fieldComment, fieldTags, repositoryName, useStoryboard) {
var lineFeed = "%0A";