diff options
author | Matěj Cepl <mcepl@redhat.com> | 2010-07-02 23:41:21 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2010-07-02 23:41:21 +0200 |
commit | b79c01757b4a317e30a5b904acfb84fd914dd31d (patch) | |
tree | 54ee444644a02fcb5bebf66830ce9642cf75d6ba /lib/rhbzpage.js | |
parent | 5374ed93dc73e054adbba847acc43856cb4b8c6c (diff) | |
download | bugzilla-triage-b79c01757b4a317e30a5b904acfb84fd914dd31d.tar.gz |
Fix Fedora BugZappers' signature
Diffstat (limited to 'lib/rhbzpage.js')
-rw-r--r-- | lib/rhbzpage.js | 6 |
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); } |