diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-04-04 00:02:03 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-04-04 00:02:03 +0200 |
commit | 17fbf62f6eb21ebb092fe29adc21d1cf2491dd65 (patch) | |
tree | 241a2fdd74b27be7d177dfffba77fe608e9fd373 /data | |
parent | b2a2b75ea99517d2f61c24c82f8d6891392f51fc (diff) | |
parent | b75478ef16eaf6d0dfd4c6ed3059d844158512e7 (diff) | |
download | bugzilla-triage-17fbf62f6eb21ebb092fe29adc21d1cf2491dd65.tar.gz |
Merge branch 'splitLarge' into next
Diffstat (limited to 'data')
-rw-r--r-- | data/lib/bzpage.js | 23 | ||||
-rw-r--r-- | data/lib/otherButtons.js | 23 |
2 files changed, 23 insertions, 23 deletions
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 @@ -325,29 +325,6 @@ function setConfigurationButton () { } /** - * 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 * * @return Element with the href attribute containng the information diff --git a/data/lib/otherButtons.js b/data/lib/otherButtons.js index bc445bf..3a1f76a 100644 --- a/data/lib/otherButtons.js +++ b/data/lib/otherButtons.js @@ -3,6 +3,29 @@ "use strict"; /** + * 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(); +} + +/** * Find default assignee based on the current component * * @return String what would be a default assignee if |