]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1493490 - Remove navigator.buildID usage from Bugzilla Helper
authorKohei Yoshino <kohei.yoshino@gmail.com>
Wed, 26 Sep 2018 17:29:32 +0000 (13:29 -0400)
committerKohei Yoshino <kohei.yoshino@gmail.com>
Wed, 26 Sep 2018 17:53:24 +0000 (13:53 -0400)
extensions/GuidedBugEntry/template/en/default/bug/create/comment-guided.txt.tmpl
extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl
extensions/GuidedBugEntry/web/js/guided.js
template/en/default/bug/create/comment-guided.txt.tmpl
template/en/default/bug/create/create-guided.html.tmpl

index 31408b5387f65692c4d952a27d65cec4c7ad38a6..153869f2f929fb081f99a9f50b6263894a5f5f9f 100644 (file)
@@ -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 %]
index e1a9e0bc5df850979644a4116c34b295ffeacc9a..7e34e992014999d6dc6a118913e4ff074cd92d06 100644 (file)
@@ -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>
index 77847fb2e9a8db87a874d373ed6bab7054febd67..5f354315336e490d9dee1da4c74262cb2afae2c3 100644 (file)
@@ -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();
index baf390c18b8e6ea06b4afe068cf155144f2d7e1a..3e9f84027c3689f61eea62ba3f8a65bd6c3c2b03 100644 (file)
@@ -28,7 +28,6 @@
 [% USE Bugzilla %]
 [% cgi = Bugzilla.cgi %]
 User-Agent:       [%+ cgi.user_agent() %]
-Build Identifier: [%+ cgi.param("buildid") %]
 
 [%+ cgi.param("comment") IF cgi.param("comment") %]
 
index 9201eb977d9a6dbbae108771b1eaac8d5680ea6c..cfdb0ba4e3cbefc38d10db7de24d75091561a281 100644 (file)
@@ -228,33 +228,6 @@ function PutDescription() {
     </td>
   </tr>
 
-  [% IF product.name.match("Firefox|Camino|SeaMonkey") %]
-    [% matches = cgi.user_agent('Gecko/(\d+)') %]
-    [% buildid = cgi.user_agent() IF matches %]
-  [% END %]
-
-  [%# Accept URL parameter build ID for non-browser products %]
-  [% IF cgi.param("buildid") %]
-    [% buildid = cgi.param("buildid") %]
-  [% END %]
-
-  <tr bgcolor="[% tablecolour %]">
-    <td align="right" valign="top">
-      <b>Build Identifier</b>
-    </td>
-    <td valign="top">
-      <input type="text" size="80" name="buildid" value="[% buildid FILTER html %]">
-      <p>
-        This should identify the exact version of the product you were using.
-        If the above field is blank or you know it is incorrect, copy the
-        user agent text from the product's Help | Troubleshooting Information menu
-        (for browsers this will begin with "Mozilla/5.0...").
-        If the product won't start, instead paste the complete URL you downloaded
-        it from.
-      </p>
-    </td>
-  </tr>
-
   <tr>
     <td align="right" valign="top">
       <b>URL</b>