summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/create
diff options
context:
space:
mode:
authorgerv%gerv.net <>2003-04-01 07:42:18 +0200
committergerv%gerv.net <>2003-04-01 07:42:18 +0200
commitb0b9a2388fc706cdd04e1527f7b2d228c38bdee8 (patch)
tree7e1822cd383855f2660c62cab58990801e6bfaa1 /template/en/default/bug/create
parent003f85e07ba3143619eb883a09bf559f7430fd05 (diff)
downloadbugzilla-b0b9a2388fc706cdd04e1527f7b2d228c38bdee8.tar.gz
bugzilla-b0b9a2388fc706cdd04e1527f7b2d228c38bdee8.tar.xz
Bug 192121 - Javascript error in guided bug entry. Patch by gerv; r=kiko, a=justdave.
Diffstat (limited to 'template/en/default/bug/create')
-rw-r--r--template/en/default/bug/create/create-guided.html.tmpl9
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>