From 10f87e54be515e61a86c1d0c8de4c0dc2a0f41ec Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Sun, 10 Jan 2010 11:06:20 +0100 Subject: Fix for new bugzilla --- bugzillaBugTriage.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bugzillaBugTriage.js') diff --git a/bugzillaBugTriage.js b/bugzillaBugTriage.js index aa9456a..afff0b1 100644 --- a/bugzillaBugTriage.js +++ b/bugzillaBugTriage.js @@ -1446,7 +1446,7 @@ BzPage.prototype.parseBacktrace = function (ret) { */ BzPage.prototype.buildButtons = function (above,below) { //Generate a list of elements in the page - this.addNewButton(this.dok.getElementById("commit_top"), + this.addNewButton(this.dok.getElementById("commit_middle"), "changeOwnerbtn","reASSIGN","","ASSIGNED","NODEFAULTASSIGNEE"); // THE MAIN BUTTON ROWS @@ -1454,7 +1454,8 @@ BzPage.prototype.buildButtons = function (above,below) { var brElement = this.dok.createElement("br"); commentBox.parentNode.normalize(); commentBox.parentNode.insertBefore(brElement,commentBox); - this.generateToolBar(commentBox.previousSibling,above); +// this.generateToolBar(commentBox.previousSibling,above); + this.generateToolBar(brElement,above); this.generateToolBar(this.originalButton,below); var commentArea = this.dok.getElementById("comment_status_commit"); -- cgit