aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib/rhbzpage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-03-02 13:37:39 +0100
committerMatěj Cepl <mcepl@redhat.com>2011-03-02 13:38:52 +0100
commit40a7136e0946f1f9d938fd65e0f416cd3455413f (patch)
tree27abaa6e91f4519196fce49b7d5922aa155ebf48 /data/lib/rhbzpage.js
parent4eb99a9ead80166c27c49437b686ca6f2442da2d (diff)
downloadbugzilla-triage-40a7136e0946f1f9d938fd65e0f416cd3455413f.tar.gz
Add unknown PCI ID to the clipboard.
Diffstat (limited to 'data/lib/rhbzpage.js')
-rw-r--r--data/lib/rhbzpage.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/lib/rhbzpage.js b/data/lib/rhbzpage.js
index 8d52174..bca0901 100644
--- a/data/lib/rhbzpage.js
+++ b/data/lib/rhbzpage.js
@@ -574,6 +574,8 @@ function fillInWhiteBoard(PCIidArrObj) {
try {
cardName = constantData.chipNames[PCIid][0];
} catch (e if e instanceof TypeError) {
+ PCIid = PCIid.toLowerCase().replace(",",":");
+ postMessage(new Message("SetClipboard", PCIid.toString()));
alert("PCI ID " + PCIid + " is not known!");
return ; // early termination
} catch (e) {
@@ -868,7 +870,7 @@ function parseBacktrace (ret) {
function RHBZinit() {
// inheritance ... call superobject's constructor
var AbrtRE = new RegExp("^\\s*\\[abrt\\]");
- var FillMagicDoneRE = new RegExp("^\\s*\\[[0-9a-zA-Z]*\\]");
+ var FillMagicDoneRE = new RegExp("^\\s*\\[[0-9a-zA-Z_]*\\]");
var btSnippet = "";
var signaturesCounter = 0;