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:
@@ -9,7 +9,6 @@
|
||||
*/
|
||||
|
||||
// if debug is set to true, console log messages are printed
|
||||
var DEBUG = true;
|
||||
if (!DEBUG)
|
||||
{
|
||||
$($H(window.console)).each(function(w) {
|
||||
|
||||
@@ -21,6 +21,11 @@
|
||||
{if $CSS_SPECIAL_INCLUDE}
|
||||
<link rel=stylesheet type="text/css" href="{$CSS_SPECIAL_INCLUDE}">
|
||||
{/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 $USE_JQUERY}
|
||||
|
||||
Reference in New Issue
Block a user