bugfix: disable javascript on mod pages

This commit is contained in:
Michael Foster 2013-09-16 06:37:14 +10:00
parent f2021725d3
commit dd1bec687b

View File

@ -15,6 +15,7 @@ function mod_page($title, $template, $args, $subtitle = false) {
'hide_dashboard_link' => $template == 'mod/dashboard.html', 'hide_dashboard_link' => $template == 'mod/dashboard.html',
'title' => $title, 'title' => $title,
'subtitle' => $subtitle, 'subtitle' => $subtitle,
'nojavascript' => true,
'body' => Element($template, 'body' => Element($template,
array_merge( array_merge(
array('config' => $config, 'mod' => $mod), array('config' => $config, 'mod' => $mod),