Minor fix: allow DOJO debug when DEBUG_MODE activated

git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@188 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
mensonge 2008-12-03 10:52:35 +00:00
parent c60c19f814
commit 61daf84631

View file

@ -24,7 +24,7 @@
<?php if (isset($loadjs)) :?> <?php if (isset($loadjs)) :?>
<script type="text/javascript" <script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/dojo/1.2/dojo/dojo.xd.js" src="http://ajax.googleapis.com/ajax/libs/dojo/1.2/dojo/dojo.xd.js"
djConfig="parseOnLoad:true, isDebug:false, usePlainJson:true, baseUrl: '<?php echo ROOT ?>', modulePaths: {'js': 'includes/js'},"></script> djConfig="parseOnLoad:true, isDebug:<?php echo DEBUG_MODE?'true':'false' ?>, usePlainJson:true, baseUrl: '<?php echo ROOT ?>', modulePaths: {'js': 'includes/js'},"></script>
<script type="text/javascript"> <script type="text/javascript">
dojo.require("dojo.parser"); dojo.require("dojo.parser");