Update to debug javascript

Set debug javascript flag in header inc and then set the variable in the
main body templates
This commit is contained in:
Clemens Schwaighofer
2015-04-24 11:06:16 +09:00
parent 57fb0b808d
commit 947497767d
5 changed files with 125 additions and 1 deletions

View File

@@ -15,6 +15,11 @@
{if $STYLESHEET}
<link rel=stylesheet type="text/css" href="{$CSS}{$STYLESHEET}">
{/if}
<script language="JavaScript">
<!--
var DEBUG = {$JS_DEBUG};
//-->
</script>
<script language="JavaScript" src="{$js}/firebug.js"></script>
<script language="JavaScript" src="{$js}/debug.js"></script>
{if $JAVASCRIPT}