aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib/util.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-03-16 01:55:20 +0100
committerMatěj Cepl <mcepl@redhat.com>2011-03-16 01:55:20 +0100
commit23cd6fe15efcec583429a2650fd2ffc4a2d8049b (patch)
treecce8b3f4c9e48eeedc12abda90757d1f88fc39db /data/lib/util.js
parent210d5ebb2c784f0a85653db94d405452c19fb433 (diff)
downloadbugzilla-triage-23cd6fe15efcec583429a2650fd2ffc4a2d8049b.tar.gz
Fix local query, the first table is numbered 0, not 1.
Diffstat (limited to 'data/lib/util.js')
-rw-r--r--data/lib/util.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/lib/util.js b/data/lib/util.js
index 0ecc318..1b5c37d 100644
--- a/data/lib/util.js
+++ b/data/lib/util.js
@@ -115,7 +115,8 @@ function createDeadLink (id, text, parent, callback, params, before, covered, ac
} else {
newAElem.setAttribute("href", "");
newAElem.addEventListener("click", function(evt) {
- callback.apply(null, params);
+ // callback.apply(null, params);
+ callback(params);
evt.stopPropagation();
evt.preventDefault();
}, false);