aboutsummaryrefslogtreecommitdiffstats
path: root/bugzillaBugTriage.js
diff options
context:
space:
mode:
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);