[open-ils-commits] r14447 - tags/rel_1_6_0_0/Open-ILS/web/reports/xul (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Oct 15 12:22:08 EDT 2009


Author: miker
Date: 2009-10-15 12:22:05 -0400 (Thu, 15 Oct 2009)
New Revision: 14447

Modified:
   tags/rel_1_6_0_0/Open-ILS/web/reports/xul/template_builder.xul
Log:
backporting r14443 and r14444 from trunk: xul + dojo can not use dojo.addOnLoad or djConfig.parseOnLoad

Modified: tags/rel_1_6_0_0/Open-ILS/web/reports/xul/template_builder.xul
===================================================================
--- tags/rel_1_6_0_0/Open-ILS/web/reports/xul/template_builder.xul	2009-10-15 16:21:35 UTC (rev 14446)
+++ tags/rel_1_6_0_0/Open-ILS/web/reports/xul/template_builder.xul	2009-10-15 16:22:05 UTC (rev 14447)
@@ -11,14 +11,14 @@
 	<!--#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">
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:xhtml="http://www.w3.org/1999/xhtml" onload="loadIDL()">
 
 <!-- Load dojo -->
 <script type="text/javascript">
 <![CDATA[
 	var djConfig= {
 		isDebug: false,
-		parseOnLoad: true
+		parseOnLoad: false
 	}
 ]]>
 </script>
@@ -54,12 +54,6 @@
 <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"/>



More information about the open-ils-commits mailing list