diff options
author | gerv%gerv.net <> | 2003-04-01 05:42:18 +0000 |
---|---|---|
committer | gerv%gerv.net <> | 2003-04-01 05:42:18 +0000 |
commit | b0b9a2388fc706cdd04e1527f7b2d228c38bdee8 (patch) | |
tree | 7e1822cd383855f2660c62cab58990801e6bfaa1 /template | |
parent | 003f85e07ba3143619eb883a09bf559f7430fd05 (diff) | |
download | bugs-b0b9a2388fc706cdd04e1527f7b2d228c38bdee8.tar bugs-b0b9a2388fc706cdd04e1527f7b2d228c38bdee8.tar.gz bugs-b0b9a2388fc706cdd04e1527f7b2d228c38bdee8.tar.bz2 bugs-b0b9a2388fc706cdd04e1527f7b2d228c38bdee8.tar.xz bugs-b0b9a2388fc706cdd04e1527f7b2d228c38bdee8.zip |
Bug 192121 - Javascript error in guided bug entry. Patch by gerv; r=kiko, a=justdave.
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/bug/create/create-guided.html.tmpl | 9 |
1 files 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> |