aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-06-10 14:17:15 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-06-10 14:17:15 +0200
commitd30965c8abb24c6239e2f1d085e29dc5629e7161 (patch)
tree97ed034b19bdb4d767ffb68f88befc6af68649c2 /data
parent2bc8fc12c76379d05d519cc114b4123384a3dab1 (diff)
downloadbugzilla-triage-d30965c8abb24c6239e2f1d085e29dc5629e7161.tar.gz
Separate PCI ID components with colon not with comma.
Diffstat (limited to 'data')
-rw-r--r--data/rhlib/rhbzpage.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/data/rhlib/rhbzpage.js b/data/rhlib/rhbzpage.js
index 0ad98f5..3e3a3ae 100644
--- a/data/rhlib/rhbzpage.js
+++ b/data/rhlib/rhbzpage.js
@@ -200,7 +200,7 @@ function sendBugUpstream() {
if (!urlStr) {
return null;
}
-
+
self.postMessage(new Message("OpenBugUpstream", {
url: urlStr,
subject: document.getElementById("short_desc_nonedit_display").
@@ -276,8 +276,9 @@ function chipsetMagic (interestingLineArr) {
// If we have Chipset line, we should parse it as well and
// add to the button
if (interestingLineArr.length > 1) {
- var PCIid = (interestingPCIID[0] + "," + interestingPCIID[1]).
+ var PCIid = (interestingPCIID[0] + ":" + interestingPCIID[1]).
toUpperCase();
+ console.myDebug("PCIid = " + PCIid);
// Nvidia driver provides good code in the Chipset line
if (interestingPCIID[0].toLowerCase() == "10de") {
cardStr = interestingLineArr[1][2].
@@ -287,7 +288,7 @@ function chipsetMagic (interestingLineArr) {
try {
cardStr = constantData.chipNames[PCIid][0];
} catch (e if e instanceof TypeError) {
- PCIid = PCIid.toLowerCase().replace(",",":");
+ PCIid = PCIid.toLowerCase();
cardStr = null;
alert("PCI ID " + PCIid + " is not known!");
self.postMessage(new Message("SetClipboard", PCIid.toString()));