From 2bc8fc12c76379d05d519cc114b4123384a3dab1 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Wed, 1 Jun 2011 00:16:19 +0200 Subject: Notice a duplicity in code between bug-page-mod.js and mozpage.js --- data/tweaks/bug-page-mod.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- cgit