Relocate bug_tag in logABug generated URL
The content of field.comment may contain characters that confuse Launchpad and block it from recognizing field.tags, so move the location of the tags specification to earlier in the URL. Change-Id: I62ce0a93ca963fe412f17e56aab743ac9c3deb98 Closes-bug: #1766705
This commit is contained in:
parent
bbc7a2a2e1
commit
26553fa96a
|
@ -129,10 +129,10 @@ function logABug(bugTitle, bugProject, fieldComment, fieldTags) {
|
|||
bugLink = urlBase + bugProject;
|
||||
} else {
|
||||
bugLink = urlBase + encodeURIComponent(bugTitle) +
|
||||
"&field.tags=" + fieldTags +
|
||||
"&field.comment=" + lineFeed + lineFeed + lineFeed +
|
||||
bugChecklist + lineFeed + "-----------------------------------" + lineFeed + fieldComment +
|
||||
lineFeed + currentURL +
|
||||
"&field.tags=" + fieldTags;
|
||||
lineFeed + currentURL;
|
||||
}
|
||||
document.getElementById("logABugLink1").href=bugLink;
|
||||
document.getElementById("logABugLink2").href=bugLink;
|
||||
|
|
Loading…
Reference in New Issue