You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by mt...@apache.org on 2006/07/11 16:44:47 UTC
svn commit: r420921 -
/incubator/xap/trunk/WebContent/examples/dojo/dojo1.html
Author: mturyn
Date: Tue Jul 11 09:44:46 2006
New Revision: 420921
URL: http://svn.apache.org/viewvc?rev=420921&view=rev
Log:
Put the script tag for dojo1.js into the head, where IE will see it before we need it (as opposed to at the end of the <body/> tag's body).
Modified:
incubator/xap/trunk/WebContent/examples/dojo/dojo1.html
Modified: incubator/xap/trunk/WebContent/examples/dojo/dojo1.html
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dojo/dojo1.html?rev=420921&r1=420920&r2=420921&view=diff
==============================================================================
--- incubator/xap/trunk/WebContent/examples/dojo/dojo1.html (original)
+++ incubator/xap/trunk/WebContent/examples/dojo/dojo1.html Tue Jul 11 09:44:46 2006
@@ -33,11 +33,13 @@
dojo.require("dojo.event.*");
dojo.require("dojo.widget.Button");
</script>
+
+ <script language="JavaScript" src="dojo1.js"> </script>
</head>
-<body onLoad="Xap.scanPage();document.showStatus();">
+<body onLoad="Xap.scanPage();if(document.showStatus){document.showStatus();}">
<script type="text/javascript">
DBG = new AjxDebug( AjxDebug.NONE, null, false );
</script>
@@ -64,7 +66,6 @@
<button onclick="alert(MyApp.getDocumentContainer().getUiDocument().toXml());">hello</button>
<div id="foot">FOOTER TEXT</dev>
- <script language="JavaScript" src="dojo1.js"/>
</body>
</html>