summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2005-02-26 00:27:24 +0100
committerbugreport%peshkin.net <>2005-02-26 00:27:24 +0100
commit9eebc260a41390387e7f5c9effe52855af297364 (patch)
treef39f159546c63bd51e1144d130519a88091f04fd
parent04eec747666f354fc710afd9e7d48d4c1e17b5b2 (diff)
downloadbugzilla-9eebc260a41390387e7f5c9effe52855af297364.tar.gz
bugzilla-9eebc260a41390387e7f5c9effe52855af297364.tar.xz
Bug 282999 remove Javascript LANGUAGE attribute in all files
Patch by Anne van Kesteren <bug@annevankesteren.nl> r=LpSolit,a=myk
-rw-r--r--template/en/default/admin/flag-type/list.html.tmpl2
-rw-r--r--template/en/default/attachment/diff-file.html.tmpl2
-rw-r--r--template/en/default/attachment/diff-header.html.tmpl2
-rw-r--r--template/en/default/attachment/edit.html.tmpl4
-rw-r--r--template/en/default/bug/comments.html.tmpl2
-rw-r--r--template/en/default/bug/create/create-guided.html.tmpl2
-rw-r--r--template/en/default/bug/create/create.html.tmpl2
-rw-r--r--template/en/default/bug/dependency-tree.html.tmpl2
-rw-r--r--template/en/default/bug/edit.html.tmpl4
-rw-r--r--template/en/default/global/header.html.tmpl4
-rw-r--r--template/en/default/global/help-header.html.tmpl2
-rw-r--r--template/en/default/list/quips.html.tmpl2
-rw-r--r--template/en/default/reports/create-chart.html.tmpl4
-rw-r--r--template/en/default/search/form.html.tmpl4
-rw-r--r--template/en/default/search/search-create-series.html.tmpl2
-rw-r--r--template/en/default/search/search-specific.html.tmpl2
16 files changed, 21 insertions, 21 deletions
diff --git a/template/en/default/admin/flag-type/list.html.tmpl b/template/en/default/admin/flag-type/list.html.tmpl
index 9638df891..66467d35a 100644
--- a/template/en/default/admin/flag-type/list.html.tmpl
+++ b/template/en/default/admin/flag-type/list.html.tmpl
@@ -59,7 +59,7 @@
<a href="editflagtypes.cgi?action=enter&amp;target_type=attachment">Create Flag Type For Attachments</a>
</p>
-<script type="text/javascript" language="JavaScript">
+<script type="text/javascript">
<!--
function confirmDelete(id, name, count)
{
diff --git a/template/en/default/attachment/diff-file.html.tmpl b/template/en/default/attachment/diff-file.html.tmpl
index 11fdc6136..cd54ab3ca 100644
--- a/template/en/default/attachment/diff-file.html.tmpl
+++ b/template/en/default/attachment/diff-file.html.tmpl
@@ -42,7 +42,7 @@
[% END %]
[% END %]
</td></tr></thead><tbody class="[% collapsed ? 'file_collapse' : 'file' %]">
-<script type="application/x-javascript" language="JavaScript">
+<script type="text/javascript">
incremental_restore()
</script>
diff --git a/template/en/default/attachment/diff-header.html.tmpl b/template/en/default/attachment/diff-header.html.tmpl
index f6fb807a8..8c9201999 100644
--- a/template/en/default/attachment/diff-header.html.tmpl
+++ b/template/en/default/attachment/diff-header.html.tmpl
@@ -229,7 +229,7 @@ tbody.file pre:empty {
<style type="text/css">
[% style %]
</style>
- <script type="text/javascript" language="JavaScript">
+ <script type="text/javascript">
<!--
[% javascript %]
-->
diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl
index eaf098907..e46d5e552 100644
--- a/template/en/default/attachment/edit.html.tmpl
+++ b/template/en/default/attachment/edit.html.tmpl
@@ -40,7 +40,7 @@
"
%]
-<script type="application/x-javascript" language="JavaScript">
+<script type="text/javascript">
<!--
var prev_mode = 'raw';
var current_mode = 'raw';
@@ -251,7 +251,7 @@
<b>You cannot view the attachment while editing it because your browser does not support IFRAMEs.
<a href="attachment.cgi?id=[% attachid %]">View the attachment on a separate page</a>.</b>
</iframe>
- <script type="application/x-javascript" language="JavaScript">
+ <script type="text/javascript">
<!--
if (typeof document.getElementById == "function") {
[% IF patchviewerinstalled %]
diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl
index bf41200b7..008da01a0 100644
--- a/template/en/default/bug/comments.html.tmpl
+++ b/template/en/default/bug/comments.html.tmpl
@@ -56,7 +56,7 @@
[%+ comment.time FILTER time %]
</i>
[% IF mode == "edit" %]
- <script type="text/javascript" language="JavaScript"><!--
+ <script type="text/javascript"><!--
addReplyLink([% count %]); //--></script>
[% END %]
-------
diff --git a/template/en/default/bug/create/create-guided.html.tmpl b/template/en/default/bug/create/create-guided.html.tmpl
index a4256a6d5..c221e7833 100644
--- a/template/en/default/bug/create/create-guided.html.tmpl
+++ b/template/en/default/bug/create/create-guided.html.tmpl
@@ -209,7 +209,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" language="JavaScript">
+ <script type="text/javascript">
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 4c1e830e4..946072b31 100644
--- a/template/en/default/bug/create/create.html.tmpl
+++ b/template/en/default/bug/create/create.html.tmpl
@@ -31,7 +31,7 @@
%]
[% USE Bugzilla %]
-<script type="text/javascript" language="JavaScript">
+<script type="text/javascript">
<!--
var default_owners = new Array([% component_.size %]);
diff --git a/template/en/default/bug/dependency-tree.html.tmpl b/template/en/default/bug/dependency-tree.html.tmpl
index 0e6b9d1b2..43425e1f0 100644
--- a/template/en/default/bug/dependency-tree.html.tmpl
+++ b/template/en/default/bug/dependency-tree.html.tmpl
@@ -113,7 +113,7 @@
[%# Block for depth control toolbar #%]
[%###########################################################################%]
- <script type="text/javascript" language="JavaScript">
+ <script type="text/javascript">
if (!Node) {
/* MSIE doesn't define Node, so provide a compatibility array */
var Node = { TEXT_NODE: 3, };
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index 4514350bc..58336b588 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -24,7 +24,7 @@
[% PROCESS bug/time.html.tmpl %]
- <script type="text/javascript" language="JavaScript">
+ <script type="text/javascript">
<!--
/* Outputs a link to call replyToComment(); used to reduce HTML output */
@@ -563,7 +563,7 @@
<tr>
<td align="left">
<b><a name="c0" href="#c0">Description</a>:</b>&nbsp;&nbsp;<script
- type="text/javascript" language="JavaScript"><!--
+ type="text/javascript"><!--
addReplyLink(0);
//--></script>
</td>
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl
index ac51f1c0b..397418ab0 100644
--- a/template/en/default/global/header.html.tmpl
+++ b/template/en/default/global/header.html.tmpl
@@ -66,14 +66,14 @@
[% PROCESS "global/site-navigation.html.tmpl" %]
[% IF javascript %]
- <script type="text/javascript" language="JavaScript">
+ <script type="text/javascript">
[% javascript %]
</script>
[% END %]
[% IF javascript_urls %]
[% FOREACH javascript_url = javascript_urls %]
- <script src="[% javascript_url FILTER html %]" type="text/javascript" language="JavaScript"></script>
+ <script src="[% javascript_url FILTER html %]" type="text/javascript"></script>
[% END %]
[% END %]
diff --git a/template/en/default/global/help-header.html.tmpl b/template/en/default/global/help-header.html.tmpl
index 6216d5d88..1a74a1e82 100644
--- a/template/en/default/global/help-header.html.tmpl
+++ b/template/en/default/global/help-header.html.tmpl
@@ -34,7 +34,7 @@
}
</style>
- <script type="application/x-javascript">
+ <script type="text/javascript">
var currentHelp;
function initHelp() {
diff --git a/template/en/default/list/quips.html.tmpl b/template/en/default/list/quips.html.tmpl
index 2ab93008f..f5f22edd1 100644
--- a/template/en/default/list/quips.html.tmpl
+++ b/template/en/default/list/quips.html.tmpl
@@ -122,7 +122,7 @@
[% END %]
</tbody>
</table>
- <script type="text/javascript" language="JavaScript"><!--
+ <script type="text/javascript"><!--
var numelements = document.forms.editform.elements.length;
function SetCheckboxes(value) {
var item;
diff --git a/template/en/default/reports/create-chart.html.tmpl b/template/en/default/reports/create-chart.html.tmpl
index 445c7b9cb..005d14752 100644
--- a/template/en/default/reports/create-chart.html.tmpl
+++ b/template/en/default/reports/create-chart.html.tmpl
@@ -34,7 +34,7 @@
donames = 1
%]
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
[%# This function takes necessary action on selection of a subcategory %]
function subcatSelected() {
var cat = document.chartform.category.value;
@@ -124,7 +124,7 @@ function subcatSelected() {
[% END %]
</table>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
document.chartform.category[0].selected = true;
document.chartform.subcategory.disabled = '';
document.chartform.name.disabled = '';
diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl
index 35a85710d..963d474d9 100644
--- a/template/en/default/search/form.html.tmpl
+++ b/template/en/default/search/form.html.tmpl
@@ -21,7 +21,7 @@
# Gervase Markham <gerv@gerv.net>
#%]
-<script type="text/javascript" language="JavaScript">
+<script type="text/javascript">
var first_load = true; [%# is this the first time we load the page? %]
var last_sel = new Array(); [%# caches last selection %]
@@ -130,7 +130,7 @@ function doOnSelectProduct(selectmode) {
<td>
<input name="short_desc" size="40" accesskey="s"
value="[% default.short_desc.0 FILTER html %]">
- <script language="JavaScript" type="text/javascript"> <!--
+ <script type="text/javascript"> <!--
document.forms[queryform].short_desc.focus();
// -->
</script>
diff --git a/template/en/default/search/search-create-series.html.tmpl b/template/en/default/search/search-create-series.html.tmpl
index 6caf6da09..8295e6049 100644
--- a/template/en/default/search/search-create-series.html.tmpl
+++ b/template/en/default/search/search-create-series.html.tmpl
@@ -47,7 +47,7 @@
button_name = "Create Data Set" %]
<input type="hidden" name="action" value="create">
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
document.chartform.category[0].selected = true;
catSelected();
checkNewState();
diff --git a/template/en/default/search/search-specific.html.tmpl b/template/en/default/search/search-specific.html.tmpl
index c5ac0c876..8b351bc36 100644
--- a/template/en/default/search/search-specific.html.tmpl
+++ b/template/en/default/search/search-specific.html.tmpl
@@ -104,7 +104,7 @@ for "crash secure SSL flash".
<td>
<input name="content" size="40" id="content"
value="[% default.content.0 FILTER html %]">
- <script language="JavaScript" type="text/javascript"> <!--
+ <script type="text/javascript"> <!--
document.forms['queryform'].content.focus();
// -->
</script>