aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--lib/passwords.js1
-rw-r--r--lib/rhbzpage.js15
3 files changed, 10 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 8768cf8..300a811 100644
--- a/Makefile
+++ b/Makefile
@@ -18,4 +18,4 @@ bugzilla-triage.xpi: package.json lib/*.js docs/*
zip -9rmqT bugzilla-triage.xpi install.rdf ;\
fix:
- ! grep -n FIXME lib/*.js \ No newline at end of file
+ ! grep -n FIXME lib/*.js
diff --git a/lib/passwords.js b/lib/passwords.js
index f194e79..49b945f 100644
--- a/lib/passwords.js
+++ b/lib/passwords.js
@@ -38,6 +38,7 @@ var getPassword = exports.getPassword = function getPassword(username,
} else {
return null;
}
+};
exports.removeLogin = function removeLogin(username,
domain, realm) {
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 () {