[mapguide-commits] r8042 - trunk/MgDev/Web/src/viewerfiles
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Mon Apr 14 07:27:00 PDT 2014
Author: jng
Date: 2014-04-14 07:26:59 -0700 (Mon, 14 Apr 2014)
New Revision: 8042
Modified:
trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ
trunk/MgDev/Web/src/viewerfiles/bufferreport.templ
trunk/MgDev/Web/src/viewerfiles/bufferui.templ
trunk/MgDev/Web/src/viewerfiles/colorpicker.templ
trunk/MgDev/Web/src/viewerfiles/dwfmappane.templ
trunk/MgDev/Web/src/viewerfiles/errorpage.templ
trunk/MgDev/Web/src/viewerfiles/formframe.templ
trunk/MgDev/Web/src/viewerfiles/legendctrl.templ
trunk/MgDev/Web/src/viewerfiles/legendui.templ
trunk/MgDev/Web/src/viewerfiles/legendupdate.templ
trunk/MgDev/Web/src/viewerfiles/mainframe.templ
trunk/MgDev/Web/src/viewerfiles/measureui.templ
trunk/MgDev/Web/src/viewerfiles/propertyctrl.templ
trunk/MgDev/Web/src/viewerfiles/quickplotpanel.templ
trunk/MgDev/Web/src/viewerfiles/quickplotpreviewinner.templ
trunk/MgDev/Web/src/viewerfiles/search.templ
trunk/MgDev/Web/src/viewerfiles/searchprompt.templ
trunk/MgDev/Web/src/viewerfiles/selectwithinui.templ
trunk/MgDev/Web/src/viewerfiles/statusbar.templ
trunk/MgDev/Web/src/viewerfiles/taskbar.templ
trunk/MgDev/Web/src/viewerfiles/taskframe.templ
trunk/MgDev/Web/src/viewerfiles/tasklist.templ
trunk/MgDev/Web/src/viewerfiles/toolbar.templ
trunk/MgDev/Web/src/viewerfiles/viewoptions.templ
Log:
#2394: Clean up script tag types to all use type="text/javascript"
Modified: trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ 2014-04-14 14:04:04 UTC (rev 8041)
+++ trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ 2014-04-14 14:26:59 UTC (rev 8042)
@@ -173,14 +173,14 @@
}
</style>
-<script language="javascript" src="../viewerfiles/browserdetect.js"></script>
-<script language="javascript" src="../viewerfiles/contextmenu.js"></script>
+<script type="text/javascript" src="../viewerfiles/browserdetect.js"></script>
+<script type="text/javascript" src="../viewerfiles/contextmenu.js"></script>
<script type="text/javascript" src="../viewerfiles/wz_jsgraphics.js"></script>
<script type="text/javascript" src="../viewerfiles/hashtable.js"></script>
<script type="text/javascript" src="../viewerfiles/sarissa.js"></script>
<script type="text/javascript" src="../viewerfiles/digitize.js"></script>
-<script language="javascript" src="../viewerfiles/util.js"></script>
-<script language=javascript>
+<script type="text/javascript" src="../viewerfiles/util.js"></script>
+<script type="text/javascript">
function SelLayer(className)
{
@@ -249,7 +249,7 @@
}
</script>
-<script language="javascript">
+<script type="text/javascript">
var clientAgent = 'Ajax Viewer';
var NONE=0, RESIZING=1, RESIZINGLEGEND=2, DRAGGING=3, PANNING=4, DRAGGINGCTRL=5;
@@ -4407,7 +4407,7 @@
</script>
-<script language="javascript" type="text/javascript">
+<script type="text/javascript" type="text/javascript">
function LoadJsFile(url, onloadCallback, testObjectName)
{
if (typeof testObjectName == "undefined" || eval("typeof " + testObjectName) == "undefined")
Modified: trunk/MgDev/Web/src/viewerfiles/bufferreport.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/bufferreport.templ 2014-04-14 14:04:04 UTC (rev 8041)
+++ trunk/MgDev/Web/src/viewerfiles/bufferreport.templ 2014-04-14 14:26:59 UTC (rev 8042)
@@ -21,7 +21,7 @@
}
</style>
-<script language=javascript>
+<script type="text/javascript">
var popup = %s;
Modified: trunk/MgDev/Web/src/viewerfiles/bufferui.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/bufferui.templ 2014-04-14 14:04:04 UTC (rev 8041)
+++ trunk/MgDev/Web/src/viewerfiles/bufferui.templ 2014-04-14 14:26:59 UTC (rev 8042)
@@ -45,9 +45,9 @@
}
</style>
-<script language="javascript" src="../viewerfiles/browserdetect.js"></script>
-<script language="javascript" src="../viewerfiles/util.js"></script>
-<script language=javascript>
+<script type="text/javascript" src="../viewerfiles/browserdetect.js"></script>
+<script type="text/javascript" src="../viewerfiles/util.js"></script>
+<script type="text/javascript">
var popup = %s;
var lcolor = "000000";
Modified: trunk/MgDev/Web/src/viewerfiles/colorpicker.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/colorpicker.templ 2014-04-14 14:04:04 UTC (rev 8041)
+++ trunk/MgDev/Web/src/viewerfiles/colorpicker.templ 2014-04-14 14:26:59 UTC (rev 8042)
@@ -33,8 +33,8 @@
}
</style>
-<script language="javascript" src="../viewerfiles/browserdetect.js"></script>
-<script language=javascript>
+<script type="text/javascript" src="../viewerfiles/browserdetect.js"></script>
+<script type="text/javascript">
var imgspin = new Image(28,22);
imgspin.src = "../stdicons/cp_arr.gif";
Modified: trunk/MgDev/Web/src/viewerfiles/dwfmappane.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/dwfmappane.templ 2014-04-14 14:04:04 UTC (rev 8041)
+++ trunk/MgDev/Web/src/viewerfiles/dwfmappane.templ 2014-04-14 14:26:59 UTC (rev 8042)
@@ -51,10 +51,10 @@
}
</style>
-<script language="javascript" src="../viewerfiles/browserdetect.js"></script>
-<script language="javascript" src="../viewerfiles/contextmenu.js"></script>
-<script language="javascript" src="../viewerfiles/hashtable.js"></script>
-<script language="javascript">
+<script type="text/javascript" src="../viewerfiles/browserdetect.js"></script>
+<script type="text/javascript" src="../viewerfiles/contextmenu.js"></script>
+<script type="text/javascript" src="../viewerfiles/hashtable.js"></script>
+<script type="text/javascript">
function LayerDef(legend, name, objectId)
{
@@ -561,25 +561,25 @@
<script src="../viewerfiles/initdwfctrl.js"></script>
-<script language=javascript for="DWFViewer" event="OnLButtonDown(x, y, handled)">
+<script type="text/javascript" for="DWFViewer" event="OnLButtonDown(x, y, handled)">
parent.ForwardMouseDown(document, null);
if(parent.ClickMap(x, y))
handled.State = true;
</script>
-<script language="javascript" for="DWFViewer" event="OnLButtonDblClick(x, y, handled)">
+<script type="text/javascript" for="DWFViewer" event="OnLButtonDblClick(x, y, handled)">
if(OnDblClick(x, y))
{
handled.State = true;
}
</script>
-<script language="javascript" for="DWFViewer" event="OnKeyDown(key, handled)">
+<script type="text/javascript" for="DWFViewer" event="OnKeyDown(key, handled)">
if(key == 27 && digitizing)
digitizing = false;
</script>
-<script language=javascript for="DWFViewer" event="OnExecuteCommandEx(itemType, state, data, handled)">
+<script type="text/javascript" for="DWFViewer" event="OnExecuteCommandEx(itemType, state, data, handled)">
if(itemType == "CONTEXTMENU")
{
if(parent.IsContextMenu())
@@ -598,12 +598,12 @@
}
</script>
-<script language=javascript for="DWFViewer" event="OnMouseMove(buttons, x, y, handled)">
+<script type="text/javascript" for="DWFViewer" event="OnMouseMove(buttons, x, y, handled)">
if(!parent.OnCursorPosChanged(x, y))
handled.State = true;
</script>
-<script language=javascript for="DWFViewer" event="OnEndLoadItem(itemName, data, res)">
+<script type="text/javascript" for="DWFViewer" event="OnEndLoadItem(itemName, data, res)">
if(itemName == "DOCUMENT")
{
emapViewer = DWFViewer.DocumentHandler;
Modified: trunk/MgDev/Web/src/viewerfiles/errorpage.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/errorpage.templ 2014-04-14 14:04:04 UTC (rev 8041)
+++ trunk/MgDev/Web/src/viewerfiles/errorpage.templ 2014-04-14 14:26:59 UTC (rev 8042)
@@ -25,7 +25,7 @@
}
</style>
-<script language=javascript>
+<script type="text/javascript">
var popup = %s;
Modified: trunk/MgDev/Web/src/viewerfiles/formframe.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/formframe.templ 2014-04-14 14:04:04 UTC (rev 8041)
+++ trunk/MgDev/Web/src/viewerfiles/formframe.templ 2014-04-14 14:26:59 UTC (rev 8042)
@@ -1,7 +1,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<script language=javascript>
+<script type="text/javascript">
function Submit(url, params, target)
{
document.getElementById("Params").innerHTML = "";
Modified: trunk/MgDev/Web/src/viewerfiles/legendctrl.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/legendctrl.templ 2014-04-14 14:04:04 UTC (rev 8041)
+++ trunk/MgDev/Web/src/viewerfiles/legendctrl.templ 2014-04-14 14:26:59 UTC (rev 8042)
@@ -2,7 +2,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<script language=javascript>
+<script type="text/javascript">
var ctrlLoaded = false;
var treeReady = false;
Modified: trunk/MgDev/Web/src/viewerfiles/legendui.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/legendui.templ 2014-04-14 14:04:04 UTC (rev 8041)
+++ trunk/MgDev/Web/src/viewerfiles/legendui.templ 2014-04-14 14:26:59 UTC (rev 8042)
@@ -50,11 +50,11 @@
}
</style>
-<script language="javascript" src="../viewerfiles/browserdetect.js"></script>
-<script language="javascript" src="../viewerfiles/contextmenu.js"></script>
-<script language="javascript" src="../viewerfiles/legend.js"></script>
+<script type="text/javascript" src="../viewerfiles/browserdetect.js"></script>
+<script type="text/javascript" src="../viewerfiles/contextmenu.js"></script>
+<script type="text/javascript" src="../viewerfiles/legend.js"></script>
<script type="text/javascript" src="../viewerfiles/hashtable.js"></script>
-<script language=javascript>
+<script type="text/javascript">
var thisFrame = this;
var tree = null;
Modified: trunk/MgDev/Web/src/viewerfiles/legendupdate.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/legendupdate.templ 2014-04-14 14:04:04 UTC (rev 8041)
+++ trunk/MgDev/Web/src/viewerfiles/legendupdate.templ 2014-04-14 14:26:59 UTC (rev 8042)
@@ -2,8 +2,8 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<script language="javascript" src="../viewerfiles/legend.js"></script>
-<script language=javascript>
+<script type="text/javascript" src="../viewerfiles/legend.js"></script>
+<script type="text/javascript">
var updateType = %s;
var timer = null;
Modified: trunk/MgDev/Web/src/viewerfiles/mainframe.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/mainframe.templ 2014-04-14 14:04:04 UTC (rev 8041)
+++ trunk/MgDev/Web/src/viewerfiles/mainframe.templ 2014-04-14 14:26:59 UTC (rev 8042)
@@ -3,11 +3,11 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>%s</title>
-<script language="javascript" src="../viewerfiles/numfmt.js"></script>
-<script language="javascript" src="../viewerfiles/browserdetect.js"></script>
-<script language="javascript" src="../viewerfiles/contextmenu.js"></script>
-<script language="javascript" src="../viewerfiles/util.js"></script>
-<script language=javascript>
+<script type="text/javascript" src="../viewerfiles/numfmt.js"></script>
+<script type="text/javascript" src="../viewerfiles/browserdetect.js"></script>
+<script type="text/javascript" src="../viewerfiles/contextmenu.js"></script>
+<script type="text/javascript" src="../viewerfiles/util.js"></script>
+<script type="text/javascript">
var clientAgentName = 'Ajax Viewer';
var webAgentAddress = '%s';
Modified: trunk/MgDev/Web/src/viewerfiles/measureui.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/measureui.templ 2014-04-14 14:04:04 UTC (rev 8041)
+++ trunk/MgDev/Web/src/viewerfiles/measureui.templ 2014-04-14 14:26:59 UTC (rev 8042)
@@ -36,9 +36,9 @@
}
</style>
-<script language="javascript" src="../viewerfiles/browserdetect.js"></script>
-<script language="javascript" src="../viewerfiles/contextmenu.js"></script>
-<script language=javascript>
+<script type="text/javascript" src="../viewerfiles/browserdetect.js"></script>
+<script type="text/javascript" src="../viewerfiles/contextmenu.js"></script>
+<script type="text/javascript">
var locale = '%s';
var target = %s;
Modified: trunk/MgDev/Web/src/viewerfiles/propertyctrl.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/propertyctrl.templ 2014-04-14 14:04:04 UTC (rev 8041)
+++ trunk/MgDev/Web/src/viewerfiles/propertyctrl.templ 2014-04-14 14:26:59 UTC (rev 8042)
@@ -44,8 +44,8 @@
}
</style>
-<script language="javascript" src="../viewerfiles/browserdetect.js"></script>
-<script language=javascript>
+<script type="text/javascript" src="../viewerfiles/browserdetect.js"></script>
+<script type="text/javascript">
var resizing = false;
var mapFrame = %s;
Modified: trunk/MgDev/Web/src/viewerfiles/quickplotpanel.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/quickplotpanel.templ 2014-04-14 14:04:04 UTC (rev 8041)
+++ trunk/MgDev/Web/src/viewerfiles/quickplotpanel.templ 2014-04-14 14:26:59 UTC (rev 8042)
@@ -50,9 +50,9 @@
}
</style>
-<script language="javascript" type="text/javascript" src="%sjxlib.js"></script>
-<script language="javascript" type="text/javascript" src="%squickplotpanel.js"></script>
-<script language="javascript" type="text/javascript">
+<script type="text/javascript" type="text/javascript" src="%sjxlib.js"></script>
+<script type="text/javascript" type="text/javascript" src="%squickplotpanel.js"></script>
+<script type="text/javascript" type="text/javascript">
var captureWarningMessage = "__#QUICKPLOT_RESOLUTION_WARNING#__";
var failToPreviewMessage = "__#QUICKPLOT_PREVIEW_ERROR#__";
var targetType = %s;
Modified: trunk/MgDev/Web/src/viewerfiles/quickplotpreviewinner.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/quickplotpreviewinner.templ 2014-04-14 14:04:04 UTC (rev 8041)
+++ trunk/MgDev/Web/src/viewerfiles/quickplotpreviewinner.templ 2014-04-14 14:26:59 UTC (rev 8042)
@@ -43,7 +43,7 @@
}
</style>
-<script language="javascript" type="text/javascript" src="%squickplotpreview.js"></script>
+<script type="text/javascript" type="text/javascript" src="%squickplotpreview.js"></script>
</head>
<body style="margin:0px" onLoad="innerLoaded()">
<table cellspacing="10" cellpadding="0" style="width:100%%; border-width:0px" id="PreviewContainer">
Modified: trunk/MgDev/Web/src/viewerfiles/search.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/search.templ 2014-04-14 14:04:04 UTC (rev 8041)
+++ trunk/MgDev/Web/src/viewerfiles/search.templ 2014-04-14 14:26:59 UTC (rev 8042)
@@ -52,7 +52,7 @@
}
</style>
-<script language=javascript>
+<script type="text/javascript">
var colCount = %s;
var curRow = -1;
Modified: trunk/MgDev/Web/src/viewerfiles/searchprompt.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/searchprompt.templ 2014-04-14 14:04:04 UTC (rev 8041)
+++ trunk/MgDev/Web/src/viewerfiles/searchprompt.templ 2014-04-14 14:26:59 UTC (rev 8042)
@@ -33,8 +33,8 @@
}
</style>
-<script language="javascript" src="../viewerfiles/browserdetect.js"></script>
-<script language=javascript>
+<script type="text/javascript" src="../viewerfiles/browserdetect.js"></script>
+<script type="text/javascript">
var target = %s;
var popup = %s;
Modified: trunk/MgDev/Web/src/viewerfiles/selectwithinui.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/selectwithinui.templ 2014-04-14 14:04:04 UTC (rev 8041)
+++ trunk/MgDev/Web/src/viewerfiles/selectwithinui.templ 2014-04-14 14:26:59 UTC (rev 8042)
@@ -29,8 +29,8 @@
}
</style>
-<script language="javascript" src="../viewerfiles/browserdetect.js"></script>
-<script language=javascript>
+<script type="text/javascript" src="../viewerfiles/browserdetect.js"></script>
+<script type="text/javascript">
var popup = %s;
var cmd = "";
Modified: trunk/MgDev/Web/src/viewerfiles/statusbar.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/statusbar.templ 2014-04-14 14:04:04 UTC (rev 8041)
+++ trunk/MgDev/Web/src/viewerfiles/statusbar.templ 2014-04-14 14:26:59 UTC (rev 8042)
@@ -55,8 +55,8 @@
}
</style>
-<script language="javascript" src="../viewerfiles/browserdetect.js"></script>
-<script language=javascript>
+<script type="text/javascript" src="../viewerfiles/browserdetect.js"></script>
+<script type="text/javascript">
var intId;
var fieldSizes = new Array(300, 120, 175);
Modified: trunk/MgDev/Web/src/viewerfiles/taskbar.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/taskbar.templ 2014-04-14 14:04:04 UTC (rev 8041)
+++ trunk/MgDev/Web/src/viewerfiles/taskbar.templ 2014-04-14 14:26:59 UTC (rev 8042)
@@ -45,8 +45,8 @@
}
</style>
-<script language="javascript" src="../viewerfiles/browserdetect.js"></script>
-<script language=javascript>
+<script type="text/javascript" src="../viewerfiles/browserdetect.js"></script>
+<script type="text/javascript">
var hovered = "";
var active = "";
Modified: trunk/MgDev/Web/src/viewerfiles/taskframe.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/taskframe.templ 2014-04-14 14:04:04 UTC (rev 8041)
+++ trunk/MgDev/Web/src/viewerfiles/taskframe.templ 2014-04-14 14:26:59 UTC (rev 8042)
@@ -2,8 +2,8 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<script language="javascript" src="../viewerfiles/browserdetect.js"></script>
-<script language=javascript>
+<script type="text/javascript" src="../viewerfiles/browserdetect.js"></script>
+<script type="text/javascript">
var thisFrame = this;
var listClosed = 1;
Modified: trunk/MgDev/Web/src/viewerfiles/tasklist.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/tasklist.templ 2014-04-14 14:04:04 UTC (rev 8041)
+++ trunk/MgDev/Web/src/viewerfiles/tasklist.templ 2014-04-14 14:26:59 UTC (rev 8042)
@@ -1,8 +1,8 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<script language="javascript" src="../viewerfiles/browserdetect.js"></script>
-<script language=javascript>
+<script type="text/javascript" src="../viewerfiles/browserdetect.js"></script>
+<script type="text/javascript">
var scrollable = 0;
var tc;
Modified: trunk/MgDev/Web/src/viewerfiles/toolbar.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/toolbar.templ 2014-04-14 14:04:04 UTC (rev 8041)
+++ trunk/MgDev/Web/src/viewerfiles/toolbar.templ 2014-04-14 14:26:59 UTC (rev 8042)
@@ -45,7 +45,7 @@
</style>
-<script language=javascript>
+<script type="text/javascript">
var hovered = "";
var active = "";
Modified: trunk/MgDev/Web/src/viewerfiles/viewoptions.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/viewoptions.templ 2014-04-14 14:04:04 UTC (rev 8041)
+++ trunk/MgDev/Web/src/viewerfiles/viewoptions.templ 2014-04-14 14:26:59 UTC (rev 8042)
@@ -37,7 +37,7 @@
}
</style>
-<script language=javascript>
+<script type="text/javascript">
var target=%s;
var popup=%s;
More information about the mapguide-commits
mailing list