aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib/rhbzpage.js
diff options
context:
space:
mode:
Diffstat (limited to 'data/lib/rhbzpage.js')
-rw-r--r--data/lib/rhbzpage.js5
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 = "";