summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2018-09-26 19:29:32 +0200
committerKohei Yoshino <kohei.yoshino@gmail.com>2018-09-26 19:53:24 +0200
commit56e23fdd99dcb61750262f33730e9a83183b908a (patch)
tree9cd3f038b1020adcc35ad1fddd6f95e823e1cf2a /extensions
parent09dd4d3192073ba9ecc7feb8a5dfcd213affd525 (diff)
downloadbugzilla-56e23fdd99dcb61750262f33730e9a83183b908a.tar.gz
bugzilla-56e23fdd99dcb61750262f33730e9a83183b908a.tar.xz
Bug 1493490 - Remove navigator.buildID usage from Bugzilla Helper
Diffstat (limited to 'extensions')
-rw-r--r--extensions/GuidedBugEntry/template/en/default/bug/create/comment-guided.txt.tmpl2
-rw-r--r--extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl1
-rw-r--r--extensions/GuidedBugEntry/web/js/guided.js3
3 files changed, 0 insertions, 6 deletions
diff --git a/extensions/GuidedBugEntry/template/en/default/bug/create/comment-guided.txt.tmpl b/extensions/GuidedBugEntry/template/en/default/bug/create/comment-guided.txt.tmpl
index 31408b538..153869f2f 100644
--- a/extensions/GuidedBugEntry/template/en/default/bug/create/comment-guided.txt.tmpl
+++ b/extensions/GuidedBugEntry/template/en/default/bug/create/comment-guided.txt.tmpl
@@ -1,8 +1,6 @@
[% USE Bugzilla %]
[% cgi = Bugzilla.cgi %]
User Agent: [% cgi.param('user_agent') %]
-[% IF cgi.param('build_id') %]
-Build ID: [% cgi.param('build_id') %][% END %]
[% IF cgi.param('firefox_for_android') %]
Firefox for Android
[% END %]
diff --git a/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl b/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl
index e1a9e0bc5..7e34e9920 100644
--- a/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl
+++ b/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl
@@ -351,7 +351,6 @@ Product: <b><span id="dupes_product_name">?</span></b>:
<input type="hidden" name="comment" id="comment" value="">
<input type="hidden" name="format" value="guided">
<input type="hidden" name="user_agent" id="user_agent" value="">
-<input type="hidden" name="build_id" id="build_id" value="">
<ul>
<li>Please fill out this form clearly, precisely and in as much detail as you can manage.</li>
diff --git a/extensions/GuidedBugEntry/web/js/guided.js b/extensions/GuidedBugEntry/web/js/guided.js
index 77847fb2e..5f3543153 100644
--- a/extensions/GuidedBugEntry/web/js/guided.js
+++ b/extensions/GuidedBugEntry/web/js/guided.js
@@ -614,9 +614,6 @@ var bugForm = {
onInit: function() {
var user_agent = navigator.userAgent;
Dom.get('user_agent').value = navigator.userAgent;
- if (navigator.buildID && navigator.buildID != navigator.userAgent) {
- Dom.get('build_id').value = navigator.buildID;
- }
Event.addListener(Dom.get('short_desc'), 'blur', function() {
Dom.get('dupes_summary').value = Dom.get('short_desc').value;
guided.setAdvancedLink();