From 1a1749127eac65acd8677d5f2d9f24683ddcf776 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 7 Nov 2010 13:07:22 +0000 Subject: [PATCH] Qual: Removed completey scriptaculous and prototype --- htdocs/main.inc.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 16f23ffbf4a..0378d6a1b45 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -857,7 +857,7 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs $mini='';$ext='.js'; if (isset($conf->global->MAIN_OPTIMIZE_SPEED) && ($conf->global->MAIN_OPTIMIZE_SPEED & 0x01)) { $mini='_mini'; $ext='.jgz'; } // mini='_mini', ext='.gz' - // JQuery. Must be before other includes (prototype/scriptaculous/...) + // JQuery. Must be before other includes (prototype/scriptaculous) print ''."\n"; print ''."\n"; print ''."\n"; @@ -868,6 +868,13 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs { print ''."\n"; } + + // This one is required for some Ajax features + if (! empty($conf->global->MAIN_USE_PROTOTYPE)) + { + print ''."\n"; + print ''."\n"; + } } // Output module javascript