aboutsummaryrefslogtreecommitdiffstats
path: root/bugzillaBugTriage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-05-14 11:02:18 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-05-14 11:02:18 +0200
commitb5962801901e35696f795ebf1f36076d25562f48 (patch)
tree97a13235e8250568d5dbf2af08b2292129a2f83a /bugzillaBugTriage.js
parentcaa2c27429d408da9e43b30102e39881e9f34ba5 (diff)
downloadbugzilla-triage-b5962801901e35696f795ebf1f36076d25562f48.tar.gz
First attempts to create new format
Diffstat (limited to 'bugzillaBugTriage.js')
-rw-r--r--bugzillaBugTriage.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/bugzillaBugTriage.js b/bugzillaBugTriage.js
index edfadb6..b1b4700 100644
--- a/bugzillaBugTriage.js
+++ b/bugzillaBugTriage.js
@@ -720,6 +720,13 @@ BZPage.prototype.onCommentsDropdownChange = function() {
// TODO make these getters/setters on the bz object instead
console.log("0" + this.doc.getElementById("bug_status"));
+
+ // we need to add element.id to the comment object
+ commentObj.forEach(function (comment,commIdx,commArr) {
+ this.selectOption(getID,comment.status);
+ });
+
+ // selectOption
if ("status" in commentObj) this.selectOption("bug_status", commentObj.status);
console.log("1");
if ("resolution" in commentObj) this.selectOption("resolution", commentObj.resolution);