diff options
Diffstat (limited to 'data/lib/rhbzpage.js')
-rw-r--r-- | data/lib/rhbzpage.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/data/lib/rhbzpage.js b/data/lib/rhbzpage.js index a61eedf..69317ff 100644 --- a/data/lib/rhbzpage.js +++ b/data/lib/rhbzpage.js @@ -187,7 +187,7 @@ function sendBugUpstream() { return null; } - postMessage(new Message("OpenBugUpstream", { + self.postMessage(new Message("OpenBugUpstream", { url: urlStr, subject: document.getElementById("short_desc_nonedit_display"). textContent.trim(), @@ -274,7 +274,7 @@ function chipsetMagic (interestingLineArr) { PCIid = PCIid.toLowerCase().replace(",",":"); cardStr = null; alert("PCI ID " + PCIid + " is not known!"); - postMessage(new Message("SetClipboard", PCIid.toString())); + self.postMessage(new Message("SetClipboard", PCIid.toString())); } catch (e) { throw e; } @@ -311,7 +311,7 @@ function analyzeXorg(results) { innerString += "No matching lines found!"; } - postMessage(new Message("OpenStringInPanel", + self.postMessage(new Message("OpenStringInPanel", '<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN">' + "<html><head><title>Xorg.0.log analysis</title></head><body><pre>\n" + innerString.trim() + @@ -319,7 +319,7 @@ function analyzeXorg(results) { } function analyzeXorgLog(attachID, backMsg) { - postMessage(new Message("GetURL", { + self.postMessage(new Message("GetURL", { url: "https://" + window.location.hostname + "/attachment.cgi?id=" + attachID, backMessage: backMsg })); |