bugfix: disable javascript on mod pages
This commit is contained in:
parent
f2021725d3
commit
dd1bec687b
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user