diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-04-26 19:41:01 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-06-05 14:46:50 +0200 |
commit | ea75583841912d7204a15103a7f4555bb91fb401 (patch) | |
tree | 430ab0f1e2f199ba50c2ad3a64127c4125c8e357 /data/lib/rhbzpage.js | |
parent | 6b739e89d0fa88899d680d09bbc7bcbd2628de31 (diff) | |
download | bugzilla-triage-ea75583841912d7204a15103a7f4555bb91fb401.tar.gz |
Setup logging of submits only when asked for.
Fixes #86
Diffstat (limited to 'data/lib/rhbzpage.js')
-rw-r--r-- | data/lib/rhbzpage.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/data/lib/rhbzpage.js b/data/lib/rhbzpage.js index 22e3178..a61eedf 100644 --- a/data/lib/rhbzpage.js +++ b/data/lib/rhbzpage.js @@ -476,6 +476,11 @@ function RHBZinit() { } } + // setup logging only when we ask for it + if (config.submitsLogging && (window.location.hostname == "bugzilla.redhat.com")) { + setUpLogging(); + } + // Dig out backtrace protection against double-firing? btSnippet = ""; |