aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/rhbzpage.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js
index 630aeb1..dc0b250 100644
--- a/lib/rhbzpage.js
+++ b/lib/rhbzpage.js
@@ -77,7 +77,7 @@ var RHBugzillaPage = function RHBugzillaPage(win, config) {
this.XorgLogAttList = [];
this.XorgLogAttListIndex = 0;
this.attachments = this.getAttachments();
- this.markBadAttachments();
+ this.markBadAttachments(this.attachments);
this.parsedAttachments = this.attachments.filter(function (att) {
return (new RegExp(titleParsedAttachment).test(att[0]));
@@ -445,7 +445,7 @@ RHBugzillaPage.prototype.addCheckShowLink = function addCheckShowLink(oldAtt, sn
* @param atts Array of attachments subarrays
* @return none
*/
-RHBugzillaPage.prototype.markBadAttachments = function(atts) {
+RHBugzillaPage.prototype.markBadAttachments = function markBadAttachments(atts) {
var that = this;
var badMIMEArray = [ "application/octet-stream", "text/x-log", "undefined" ];
if (!this.password) {