aboutsummaryrefslogtreecommitdiffstats
path: root/bugzillaBugTriage.js
diff options
context:
space:
mode:
Diffstat (limited to 'bugzillaBugTriage.js')
-rw-r--r--bugzillaBugTriage.js12
1 files changed, 3 insertions, 9 deletions
diff --git a/bugzillaBugTriage.js b/bugzillaBugTriage.js
index 68aa2ee..bef3df1 100644
--- a/bugzillaBugTriage.js
+++ b/bugzillaBugTriage.js
@@ -1121,18 +1121,12 @@ bzPage.prototype.createFixAllButton = function (list) {
* CURRENTLY BROKEN
*/
bzPage.prototype.addTextLink = function (row) {
- var aList = row[row.length-1].getElementsByTagName("a");
- var curElem = aList[aList.length-1];
- var tElem = {};
- var t2Elem = {};
var that = this;
-
- var tElem = this.doc.get(0).createElement("a");
- var jElem = $(tElem).attr("href","").click(function (event) {
+ $("td:last", row).append("<br/>").
+ append("<a href=''>Text</a>").
+ click(function (event) {
that.fixAttachById(row[1],"text/plain");
});
-
- $("a",row).after(tElem).after("<br/>");
};
/**