Commit afa6f075 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Hook in debug.js to get some debug functions.

parent ead3b640
......@@ -74,6 +74,7 @@ function &smarty($javascript = array(), $headers = array(), $strings = array())
// Add the required mochikit and mahara javascript files
$javascript[] = $jsroot . 'mochikit/MochiKit.js';
$javascript[] = $jsroot . 'mahara.js';
$javascript[] = $jsroot . 'debug.js';
foreach (maharajsstrings() as $string) {
if (!in_array($string, $strings)) {
$strings[] = $string;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment