diff options
author | Matěj Cepl <mcepl@redhat.com> | 2010-09-14 22:21:00 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2010-09-14 22:21:00 +0200 |
commit | d6392709f209e5b63cafd47d59ffa0c0182487ed (patch) | |
tree | 9463f1b18807afa2e4affe74283f1ce350462dfc /lib | |
parent | f2f034c968d00874c234c0ce20bb9a2a978a8e61 (diff) | |
download | bugzilla-triage-d6392709f209e5b63cafd47d59ffa0c0182487ed.tar.gz |
Fixed number of lines in the head of the Xorg.0.log analysis
Fixes #48
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rhbzpage.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js index 5e8291d..cb3f636 100644 --- a/lib/rhbzpage.js +++ b/lib/rhbzpage.js @@ -657,10 +657,11 @@ RHBugzillaPage.prototype.analyzeXorgLog = function analyzeXorgLog(attachID) { return (that.RE.soughtLines.test(line)); }); // Remove headers - if (results.length >= 3) { - results.splice(0, 3); + if (results.length >= 1) { + results.splice(0, 1); } if (results.length > 0) { + results.forEach(function(l) { preElem.innerHTML += l + "\n"; }); |