aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/rhbzpage.js15
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js
index 1a846f8..82d5e05 100644
--- a/lib/rhbzpage.js
+++ b/lib/rhbzpage.js
@@ -66,13 +66,6 @@ var RHBugzillaPage = function RHBugzillaPage(win, config) {
var ITbutton = this.doc.getElementById("cf_issuetracker");
this.its = ITbutton ? ITbutton.value.trim() : "";
- // set default assignee on change of the component
- this.doc.getElementById("component").addEventListener("change",
- function() {
- that.component = that.getOptionValue("component");
- that.changeAssignee("default");
- }, false);
-
// getBadAttachments
this.XorgLogAttList = [];
this.XorgLogAttListIndex = 0;
@@ -115,6 +108,14 @@ var RHBugzillaPage = function RHBugzillaPage(win, config) {
this.fillInChipMagic();
}
}
+
+ // set default assignee on change of the component
+ this.doc.getElementById("component").addEventListener("change",
+ function() {
+ that.component = that.getOptionValue("component");
+ that.changeAssignee("default");
+ }, false);
+
}; // END OF RHBugzillaPage CONSTRUCTOR
RHBugzillaPage.prototype.toString = function toString () {