Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2018-03-28 08:34:36 +0000
committerAlexander Kurtakov2018-03-28 08:34:36 +0000
commitc4196a90df056cb7651aa577805e80e0e1ff17dd (patch)
tree2253d582b0194d506f55526a32c7bbb65a0e633e /org.eclipse.help.webapp/advanced/toolbar.jsp
parent6217ccaf33afec8688f6e8fc2fa9b02219b655a1 (diff)
downloadeclipse.platform.ua-c4196a90df056cb7651aa577805e80e0e1ff17dd.tar.gz
eclipse.platform.ua-c4196a90df056cb7651aa577805e80e0e1ff17dd.tar.xz
eclipse.platform.ua-c4196a90df056cb7651aa577805e80e0e1ff17dd.zip
Bug 532984 - Stop using long deprecated sript language attribute
The prefferred way is type="text/javascript" for HTML 4.x Change-Id: I0807cdec177ac1de6684796da1bde444c5f0b923 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'org.eclipse.help.webapp/advanced/toolbar.jsp')
-rw-r--r--org.eclipse.help.webapp/advanced/toolbar.jsp8
1 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.help.webapp/advanced/toolbar.jsp b/org.eclipse.help.webapp/advanced/toolbar.jsp
index 655f31626..cf581f4cf 100644
--- a/org.eclipse.help.webapp/advanced/toolbar.jsp
+++ b/org.eclipse.help.webapp/advanced/toolbar.jsp
@@ -1,5 +1,5 @@
<%--
- Copyright (c) 2000, 2011 IBM Corporation and others.
+ Copyright (c) 2000, 2018 IBM Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
@@ -160,12 +160,12 @@ HTML {
for (int s = 0; s < scripts.length; s++) {
String path = scripts[s];
%>
- <script language="JavaScript" src = "<%=path%>" ></script>
+ <script type="text/javascript" src = "<%=path%>" ></script>
<%
}
%>
-<script language="JavaScript">
+<script type="text/javascript">
var bRestore = false;
// Preload images
@@ -426,7 +426,7 @@ function menuExit(e) {
<%
if (data.getScript() != null) {
%>
-<script language="JavaScript" src="<%=UrlUtil.htmlEncode(data.getScript())%>"></script>
+<script type="text/javascript" src="<%=UrlUtil.htmlEncode(data.getScript())%>"></script>
<%
}
%>

Back to the top