aboutsummaryrefslogtreecommitdiffstats
path: root/data/tweaks
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-05-31 23:37:20 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-06-05 14:53:48 +0200
commite6fc443ce7008856fc4285ae9020deeb442e04a6 (patch)
treeaad2597432f5e77ca4450a137759f1e06b5dac7c /data/tweaks
parentdbde936df9b45730586677f1d178044668d86229 (diff)
downloadbugzilla-triage-e6fc443ce7008856fc4285ae9020deeb442e04a6.tar.gz
Fix broken subsequent calls to message handlers.
Fixes #104 But really, this is whole broken, and we need to eliminate direct calls and use event handlers internally.
Diffstat (limited to 'data/tweaks')
-rw-r--r--data/tweaks/bug-page-mod.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/tweaks/bug-page-mod.js b/data/tweaks/bug-page-mod.js
index 9be8551..f30e9e3 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);