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:
parent
b41e1a1b0d
commit
faa73bfa1d
|
@ -79,5 +79,5 @@
|
|||
lineFeed + encodeURI(gitSha) +
|
||||
lineFeed + encodeURI(gitURL) ;
|
||||
|
||||
logABug(bugTitle, bugProject, fieldComment, fieldTags, repositoryName);
|
||||
logABug(bugTitle, bugProject, fieldComment, fieldTags, repositoryName, useStoryboard);
|
||||
</script>
|
||||
|
|
|
@ -104,7 +104,7 @@ $('div.deprecated > p').prepend('<div class="fa fa-fw fa-minus-circle"> </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";
|
||||
|
||||
|
|
Loading…
Reference in New Issue