aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/mozlib/mozpage.js4
-rw-r--r--data/rhlib/rhbzpage.js4
-rw-r--r--data/tweaks/bug-page-mod.js2
3 files changed, 5 insertions, 5 deletions
diff --git a/data/mozlib/mozpage.js b/data/mozlib/mozpage.js
index 86c1559..5185cd7 100644
--- a/data/mozlib/mozpage.js
+++ b/data/mozlib/mozpage.js
@@ -58,10 +58,10 @@ var mozFlags = (function() {
})();
// Currently empty message handler
-function MozOnMessageHandler(msg, nextHandler) {
+function MozOnMessageHandler(msg, nextHandlerList) {
switch (msg.cmd) {
default:
- if (nextHandler) {
+ if (nextHandlerList) {
var nextHandler = nextHandlerList.splice(0, 1);
if (nextHandler[0]) {
nextHandler[0](msg, nextHandlerList);
diff --git a/data/rhlib/rhbzpage.js b/data/rhlib/rhbzpage.js
index 7060a37..0ad98f5 100644
--- a/data/rhlib/rhbzpage.js
+++ b/data/rhlib/rhbzpage.js
@@ -57,7 +57,7 @@ var ProfessionalProducts = [
var btSnippet = null;
-function RHOnMessageHandler(msg, nextHandler) {
+function RHOnMessageHandler(msg, nextHandlerList) {
switch (msg.cmd) {
case "Error":
alert("Error " + msg.data);
@@ -78,7 +78,7 @@ function RHOnMessageHandler(msg, nextHandler) {
queryUpstreamCallback(msg.data, constantData.queryUpstreamBug);
break;
default:
- if (nextHandler) {
+ if (nextHandlerList) {
var nextHandler = nextHandlerList.splice(0, 1);
if (nextHandler[0]) {
nextHandler[0](msg, nextHandlerList);
diff --git a/data/tweaks/bug-page-mod.js b/data/tweaks/bug-page-mod.js
index 20f16ea..c72cf94 100644
--- a/data/tweaks/bug-page-mod.js
+++ b/data/tweaks/bug-page-mod.js
@@ -41,7 +41,7 @@ function TweakOnMessageHandler(msg, nextHandlerList) {
processHistory(msg.data);
break;
default:
- if (nextHandler) {
+ if (nextHandlerList) {
var nextHandler = nextHandlerList.splice(0, 1);
if (nextHandler[0]) {
nextHandler[0](msg, nextHandlerList);