From b0b9a2388fc706cdd04e1527f7b2d228c38bdee8 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Tue, 1 Apr 2003 05:42:18 +0000 Subject: [PATCH] Bug 192121 - Javascript error in guided bug entry. Patch by gerv; r=kiko, a=justdave. --- template/en/default/bug/create/create-guided.html.tmpl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/template/en/default/bug/create/create-guided.html.tmpl b/template/en/default/bug/create/create-guided.html.tmpl index 4f2751311..a716ddca6 100644 --- a/template/en/default/bug/create/create-guided.html.tmpl +++ b/template/en/default/bug/create/create-guided.html.tmpl @@ -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> -- 2.24.1