aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-10-25 23:52:03 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-10-25 23:52:03 +0200
commitf22d97c2bc0f5c04b69eaee3ad15f7cdd594f3db (patch)
tree084ae6618db3d545d1034f0100b6f4de49275bf4
parente0c0b5d7642b1a83de3763febaaba102ab37d1bf (diff)
downloadbugzilla-triage-f22d97c2bc0f5c04b69eaee3ad15f7cdd594f3db.tar.gz
Echm, I should actually pass the argument where it is expected ;).
-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) {