From b75478ef16eaf6d0dfd4c6ed3059d844158512e7 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Mon, 4 Apr 2011 00:01:53 +0200 Subject: Move marking reporter's to otherButtons module. --- data/lib/bzpage.js | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'data/lib/bzpage.js') diff --git a/data/lib/bzpage.js b/data/lib/bzpage.js index d65c232..f99d60c 100644 --- a/data/lib/bzpage.js +++ b/data/lib/bzpage.js @@ -324,29 +324,6 @@ function setConfigurationButton () { }, false); } -/** - * Set background color of all comments made by reporter in ReporterColor color - * - */ -function checkComments () { - var reporter = getReporter(); - commentsWalker(function(x) { - var email = parseMailto(x.getElementsByClassName("vcard")[0] - .getElementsByTagName("a")[0]); - if (email.indexOf(reporter) != -1) { - x.style.backgroundColor = ReporterColor.toString(); - } - }); -} - -function collectComments () { - var outStr = ""; - commentsWalker(function(x) { - outStr += x.getElementsByTagName("pre")[0].textContent + "\n"; - }); - return outStr.trim(); -} - /** * dd * -- cgit