aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-06-01 00:16:19 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-06-05 14:53:48 +0200
commit42d467824ab225a396e54a748f21aaddb742f925 (patch)
tree568a930c8cce9cf7a910d7a2fa96def6ac6aaf10
parente6fc443ce7008856fc4285ae9020deeb442e04a6 (diff)
downloadbugzilla-triage-42d467824ab225a396e54a748f21aaddb742f925.tar.gz
Notice a duplicity in code between bug-page-mod.js and mozpage.js
-rw-r--r--data/tweaks/bug-page-mod.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/tweaks/bug-page-mod.js b/data/tweaks/bug-page-mod.js
index f30e9e3..b8eb836 100644
--- a/data/tweaks/bug-page-mod.js
+++ b/data/tweaks/bug-page-mod.js
@@ -137,7 +137,8 @@ function tweakBugzilla(atts, cData) {
));
document.getElementsByTagName("head")[0].appendChild(style);
- // collect the flag names
+ // collect the flag names, FIXME this is exactly the same as
+ // mozFlags._init() function in mozpage.js
var flagNames = [], flags = {}, flagOccurrences = {};
var flagRows = document.querySelectorAll("#flags tr");
for (var i = 0; i < flagRows.length; ++i) {