summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-12-03 10:52:35 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-12-03 10:52:35 +0000
commit61daf846313f9eddbc6098fdd32b07620480be7e (patch)
tree64026444a12555888652f41c9f501b8d6e816c16
parentc60c19f81458f6d150202ac9a772dfaf942af355 (diff)
downloadsemanticscuttle-61daf846313f9eddbc6098fdd32b07620480be7e.tar.gz
semanticscuttle-61daf846313f9eddbc6098fdd32b07620480be7e.tar.bz2
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
-rw-r--r--templates/dojo.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/dojo.inc.php b/templates/dojo.inc.php
index bc754a0..1addfc1 100644
--- a/templates/dojo.inc.php
+++ b/templates/dojo.inc.php
@@ -24,7 +24,7 @@
<?php if (isset($loadjs)) :?>
<script type="text/javascript"
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">
dojo.require("dojo.parser");