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-01 00:16:19 +0200
commit2bc8fc12c76379d05d519cc114b4123384a3dab1 (patch)
tree0e839599c0cb800d02201e92958d6f2f38a7a1da
parentab2fc02dcb0743217cedeb845578b849eb638645 (diff)
downloadbugzilla-triage-2bc8fc12c76379d05d519cc114b4123384a3dab1.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 c72cf94..0af5d48 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) {