diff options
author | Matěj Cepl <mcepl@redhat.com> | 2010-05-14 11:02:18 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2010-05-14 11:02:18 +0200 |
commit | b5962801901e35696f795ebf1f36076d25562f48 (patch) | |
tree | 97a13235e8250568d5dbf2af08b2292129a2f83a /bugzillaBugTriage.js | |
parent | caa2c27429d408da9e43b30102e39881e9f34ba5 (diff) | |
download | bugzilla-triage-b5962801901e35696f795ebf1f36076d25562f48.tar.gz |
First attempts to create new format
Diffstat (limited to 'bugzillaBugTriage.js')
-rw-r--r-- | bugzillaBugTriage.js | 7 |
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); |