aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/rhbzpage.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js
index da2ce7c..38650d4 100644
--- a/lib/rhbzpage.js
+++ b/lib/rhbzpage.js
@@ -94,10 +94,10 @@ var RHBugzillaPage = function RHBugzillaPage(win, config) {
if (config.gJSONData.configData.signature.length > 0) {
var signatureFedoraString = config.gJSONData.configData.signature;
this.doc.forms.namedItem("changeform").addEventListener("submit",
- function() {
- if (this.signaturesCounter < 1) {
+ function(aEvt) {
+ if (that.signaturesCounter < 1) {
that.addStuffToTextBox("comment", signatureFedoraString);
- this.signaturesCounter += 1;
+ that.signaturesCounter += 1;
}
}, false);
}