aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib/rhbzpage.js
diff options
context:
space:
mode:
Diffstat (limited to 'data/lib/rhbzpage.js')
-rw-r--r--data/lib/rhbzpage.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/lib/rhbzpage.js b/data/lib/rhbzpage.js
index 2e68c0a..a82d975 100644
--- a/data/lib/rhbzpage.js
+++ b/data/lib/rhbzpage.js
@@ -185,7 +185,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(),
@@ -272,7 +272,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;
}
@@ -309,7 +309,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() +
@@ -317,7 +317,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
}));