aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rhbzpage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-07-02 23:41:21 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-07-02 23:41:21 +0200
commitb79c01757b4a317e30a5b904acfb84fd914dd31d (patch)
tree54ee444644a02fcb5bebf66830ce9642cf75d6ba /lib/rhbzpage.js
parent5374ed93dc73e054adbba847acc43856cb4b8c6c (diff)
downloadbugzilla-triage-b79c01757b4a317e30a5b904acfb84fd914dd31d.tar.gz
Fix Fedora BugZappers' signature
Diffstat (limited to 'lib/rhbzpage.js')
-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);
}