Removing reports calls, don't add jquery.js or jquery-ui those libs are already added see #5261

skala
Julio Montoya 13 years ago
parent 9852d81bac
commit 6b6835277c
  1. 2
      main/reports/index.php
  2. 4
      main/reports/reports.php

@ -27,7 +27,7 @@ $this_section = SECTION_REPORTS;
$tool_name=get_lang('Reports');
// Displaying the header
foreach (array('jquery.js','jquery-ui-1.8.5.custom.min.js', 'jquery.ba-bbq.min.js', 'jquery.validate.js', 'jquery.form.js', 'jquery.form.wizard.js', 'jquery.dataTables.min.js') as $js)
foreach (array('jquery.ba-bbq.min.js', 'jquery.validate.js', 'jquery.form.js', 'jquery.form.wizard.js', 'jquery.dataTables.min.js') as $js)
$htmlHeadXtra[] = '<script src="'.api_get_path(WEB_LIBRARY_PATH).'javascript/'.$js.'" type="text/javascript" language="javascript"></script>'."\n";
// FIXME

@ -7,7 +7,7 @@
* @copyrights CBLUE SPRL 2011
* @package chamilo.reports
*/
exit;
// name of the language file that needs to be included
$language_file = array('reportlib');
$cidReset = true;
@ -47,7 +47,7 @@ if ($_REQUEST['format'] == 'link') {
}
if ($_REQUEST['format'] == 'directlink') {
foreach (array('jquery.js', 'jquery.dataTables.min.js') as $js)
foreach (array('jquery.dataTables.min.js') as $js)
$htmlHeadXtra[] = '<script src="'.api_get_path(WEB_LIBRARY_PATH).'javascript/'.$js.'" type="text/javascript" language="javascript"></script>'."\n";
$htmlCSSXtra[] = 'dataTable.css';

Loading…
Cancel
Save