aboutsummaryrefslogtreecommitdiffstats
path: root/data/rhlib/fixingAttMIME.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-07-19 14:30:39 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-07-19 15:22:49 +0200
commitd75f36db36c442ae9621dc128fbd916c25d5735f (patch)
treec9ed3fcd6f86d28a9434b95e5060f3f64be17917 /data/rhlib/fixingAttMIME.js
parente06a2341056cabd82fae8527d30a9ec97b24dc10 (diff)
parent4ef203c974e889b74e4064ee04eddc55ba7b8c08 (diff)
downloadbugzilla-triage-d75f36db36c442ae9621dc128fbd916c25d5735f.tar.gz
Merge branch 'bugzillatweaks' into next.
This is a horribly botched branch merged. Conflicts: chip-data/chipNames.json data/lib/bugzillaDOMFunctions.js data/lib/bzpage.js data/lib/jumpNextBug.js data/lib/otherButtons.js data/lib/queries.js data/lib/util.js data/rhlib/addAttachmentRow.js data/rhlib/fixingAttMIME.js data/rhlib/rhbzpage.js data/tweaks/bug-page-mod.js data/tweaks/viewSource.js lib/libbugzilla.js lib/main.js package.json
Diffstat (limited to 'data/rhlib/fixingAttMIME.js')
-rw-r--r--data/rhlib/fixingAttMIME.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/rhlib/fixingAttMIME.js b/data/rhlib/fixingAttMIME.js
index 9834cfa..f61ddbd 100644
--- a/data/rhlib/fixingAttMIME.js
+++ b/data/rhlib/fixingAttMIME.js
@@ -78,11 +78,11 @@ function fixAttachById(id, XMLRPCURL, type, email) {
* <TR> DOM jQuery element with a bad attachment
* @return none
*/
-function addTextLink(row, xmlRpcUrl) {
- var elemS = row[4].getElementsByTagName("td");
+function addTextLink(att, xmlRpcUrl) {
+ var elemS = att.element.getElementsByTagName("td");
var elem = elemS[elemS.length - 1];
createDeadLink("addFix2TextLink", "text", elem, fixAttachById,
[
- row[1], xmlRpcUrl
+ att.id, xmlRpcUrl
], "br");
}