rolling back r14446: dojo.addOnLoad() is fine in xul, as long as we are not using...
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 23 Oct 2009 00:28:04 +0000 (00:28 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 23 Oct 2009 00:28:04 +0000 (00:28 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14568 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/reports/xul/template_builder.xul

index a5c60f8..5815c36 100644 (file)
        <!--#include virtual="/opac/locale/${locale}/reports.dtd"-->
 ]>
 
-<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:xhtml="http://www.w3.org/1999/xhtml" onload="loadIDL()">
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:xhtml="http://www.w3.org/1999/xhtml">
 
 <!-- Load dojo -->
 <script type="text/javascript">
 <![CDATA[
        var djConfig= {
                isDebug: false,
-               parseOnLoad: false
+               parseOnLoad: true
        }
 ]]>
 </script>
 <script type="text/javascript" src="/js/dojo/dojo/dojo.js"></script>
-<script type="text/javascript" src="/js/dojo/dojo/openils_dojo.js"></script>
 <script type="text/javascript">
 <![CDATA[
        dojo.require('dojo.parser');
 <script src="transforms.js" type="application/x-javascript; e4x=1"/>
 <script src="operators.js" type="application/x-javascript; e4x=1"/>
 
+<script type="text/javascript"> 
+<![CDATA[ 
+    dojo.addOnLoad(loadIDL); 
+]]> 
+</script>
+
 <script type="application/x-javascript; e4x=1" src="/opac/common/js/jscalendar/calendar.js"/>
 <script type="application/x-javascript; e4x=1" src="/opac/common/js/jscalendar/lang/calendar-en.js"/>
 <script type="application/x-javascript; e4x=1" src="/opac/common/js/jscalendar/calendar-setup.js"/>