diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-04-28 01:00:35 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-06-05 14:46:50 +0200 |
commit | 68de408908a2cec9b0df1f67fe91939747e774e7 (patch) | |
tree | 46c8aa43ad2b9b67d35cddd2e55c60428d2d657d | |
parent | cb82da27fc37ebe74aa9678506e72eb1a7308ca3 (diff) | |
download | bugzilla-triage-68de408908a2cec9b0df1f67fe91939747e774e7.tar.gz |
Two small typos
* it is config.XorgLogAnalysis not lowercase one
* timeSheetRecordsPrinter needs to be declared, otherwise it is not
available inside of the logger.js module itself.
-rw-r--r-- | data/lib/rhbzpage.js | 2 | ||||
-rw-r--r-- | lib/logger.js | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/data/lib/rhbzpage.js b/data/lib/rhbzpage.js index 69317ff..5daeea7 100644 --- a/data/lib/rhbzpage.js +++ b/data/lib/rhbzpage.js @@ -201,7 +201,7 @@ function sendBugUpstream() { * @return none */ function addCheckXorgLogLink(attList) { - if (config.xorglogAnalysis) { + if (config.XorgLogAnalysis) { attList.forEach(function (row) { var elemS = row[4].getElementsByTagName("td"); var elem = elemS[elemS.length - 1]; diff --git a/lib/logger.js b/lib/logger.js index 0b18c1b..dce3bad 100644 --- a/lib/logger.js +++ b/lib/logger.js @@ -78,7 +78,8 @@ exports.generateTimeSheet = function generateTimeSheet() { libbz.openURLInNewTab("data:text/html;charset=utf-8," + docHTML); }; -exports.timeSheetRecordsPrinter = function timeSheetRecordsPrinter(records, date) { +var timeSheetRecordsPrinter = exports.timeSheetRecordsPrinter = + function timeSheetRecordsPrinter(records, date) { var commentBugRE = new RegExp("[bB]ug\\s+([0-9]+)","g"); // sort the records into temporary array var tmpArr = []; |