summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/create
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/bug/create')
-rw-r--r--template/en/default/bug/create/create-guided.html.tmpl4
-rw-r--r--template/en/default/bug/create/create.html.tmpl8
2 files changed, 6 insertions, 6 deletions
diff --git a/template/en/default/bug/create/create-guided.html.tmpl b/template/en/default/bug/create/create-guided.html.tmpl
index ee40890cb..9420f1330 100644
--- a/template/en/default/bug/create/create-guided.html.tmpl
+++ b/template/en/default/bug/create/create-guided.html.tmpl
@@ -41,7 +41,7 @@
[% tablecolour = "#FFFFCC" %]
[%# This script displays the descriptions for selected components. %]
-<script type="text/javascript">
+<script>
var descriptions = [
[% FOREACH c = product.components %]
'[% c.description FILTER js %]',
@@ -181,7 +181,7 @@ function PutDescription() {
<td valign="top" width="100%">
<div id="description" style="color: green; margin-left: 10px;
height: 5em; overflow: auto;">
- <script type="text/javascript">
+ <script>
if ((document.getElementById) && (document.body.innerHTML)) {
document.write("\
Select a component to see its description here.");
diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl
index d969ded64..567c58d58 100644
--- a/template/en/default/bug/create/create.html.tmpl
+++ b/template/en/default/bug/create/create.html.tmpl
@@ -40,7 +40,7 @@
onload = "init();"
%]
-<script type="text/javascript">
+<script>
<!--
function init() {
@@ -217,7 +217,7 @@ TUI_hide_default('attachment_text_field');
<input type="button" id="expert_fields_controller"
value="Hide Advanced Fields" onClick="toggleAdvancedFields()">
[%# Show the link if the browser supports JS %]
- <script type="text/javascript">
+ <script>
YAHOO.util.Dom.removeClass('expert_fields_controller',
'bz_default_hidden');
</script>
@@ -276,7 +276,7 @@ TUI_hide_default('attachment_text_field');
[%- END %]
</select>
- <script type="text/javascript">
+ <script>
<!--
[%+ INCLUDE "bug/field-events.js.tmpl"
field = bug_fields.component, product = product %]
@@ -492,7 +492,7 @@ TUI_hide_default('attachment_text_field');
<th>Possible<br>Duplicates:</th>
<td colspan="3">
<div id="possible_duplicates"></div>
- <script type="text/javascript">
+ <script>
var dt_columns = [
{ key: "id", label: "[% field_descs.bug_id FILTER js %]",
formatter: YAHOO.bugzilla.dupTable.formatBugLink },