aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib/bzpage.js
diff options
context:
space:
mode:
Diffstat (limited to 'data/lib/bzpage.js')
-rw-r--r--data/lib/bzpage.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/lib/bzpage.js b/data/lib/bzpage.js
index f99d60c..3a832ea 100644
--- a/data/lib/bzpage.js
+++ b/data/lib/bzpage.js
@@ -318,7 +318,7 @@ function setConfigurationButton () {
document.getElementById("configurationButton").addEventListener(
"click",
function(evt) {
- postMessage(new Message("ChangeJSONURL", null));
+ self.postMessage(new Message("ChangeJSONURL", null));
evt.stopPropagation();
evt.preventDefault();
}, false);
@@ -423,7 +423,7 @@ function startup() {
checkComments();
- postMessage(new Message("GetInstalledPackages", {
+ self.postMessage(new Message("GetInstalledPackages", {
location: window.location.href,
login: getLogin()
}));