aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--data/lib/rhbzpage.js2
-rw-r--r--lib/logger.js3
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 = [];