]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 192121 - Javascript error in guided bug entry. Patch by gerv; r=kiko, a=justdave.
authorgerv%gerv.net <>
Tue, 1 Apr 2003 05:42:18 +0000 (05:42 +0000)
committergerv%gerv.net <>
Tue, 1 Apr 2003 05:42:18 +0000 (05:42 +0000)
template/en/default/bug/create/create-guided.html.tmpl

index 4f2751311d4e919408bba9eaf7266e7bb813fb2b..a716ddca6ba4b85104e497150467f00108c00e87 100644 (file)
@@ -253,12 +253,15 @@ function PutDescription() {
             </select>
           </td>
           <td valign="top" width="100%">
-            [% IF cgi.user_agent("Mozilla/5") %]
               <div id="description" style="color: green; margin-left: 10px;
                                            height: 5em; overflow: auto;">
-                Select a component to see its description here.
+                <script type="text/javascript" language="JavaScript"> 
+                  if ((document.getElementById) && (document.body.innerHTML)) {
+                    document.write("\
+                    Select a component to see its description here.");
+                  }
+                </script>
               </div>
-            [% END %]
           </td>
         </tr>
       </table>