summaryrefslogtreecommitdiffstats
path: root/extensions/GuidedBugEntry/web
diff options
context:
space:
mode:
authorSimon Green <sgreen@redhat.com>2014-09-01 18:35:21 +0200
committerByron Jones <glob@mozilla.com>2014-09-01 18:35:21 +0200
commit2a9db67806fbc2483afce36e0660f03a99b5ec5f (patch)
treecd1de6e3e3c2d39a2be6a1f6974c2e5f73242fb6 /extensions/GuidedBugEntry/web
parent2af00b7a13d069719a0fff3f1dd709534e1f5fe9 (diff)
downloadbugzilla-2a9db67806fbc2483afce36e0660f03a99b5ec5f.tar.gz
bugzilla-2a9db67806fbc2483afce36e0660f03a99b5ec5f.tar.xz
Bug 880097: Only retrieve database fetched values if requested
Diffstat (limited to 'extensions/GuidedBugEntry/web')
-rw-r--r--extensions/GuidedBugEntry/web/js/guided.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/extensions/GuidedBugEntry/web/js/guided.js b/extensions/GuidedBugEntry/web/js/guided.js
index b28c59d77..a3888783b 100644
--- a/extensions/GuidedBugEntry/web/js/guided.js
+++ b/extensions/GuidedBugEntry/web/js/guided.js
@@ -583,12 +583,7 @@ var bugForm = {
onInit: function() {
var user_agent = navigator.userAgent;
- if (YAHOO.env.ua.gecko > 0) {
- user_agent += navigator.userAgent.search('Gecko/20100101') != -1
- ? ' (Beta/Release)'
- : ' (Nightly/Aurora)';
- }
- Dom.get('user_agent').value = user_agent;
+ Dom.get('user_agent').value = navigator.userAgent;
if (navigator.buildID && navigator.buildID != navigator.userAgent) {
Dom.get('build_id').value = navigator.buildID;
}