Move core js in /htdocs/core/js
This commit is contained in:
parent
30c5f4b214
commit
b1271a5398
@ -5,7 +5,7 @@
|
||||
//
|
||||
|
||||
//
|
||||
// \file htdocs/lib/lib_head.js
|
||||
// \file htdocs/core/js/lib_head.js
|
||||
// \brief File that include javascript functions (included if option use_javascript activated)
|
||||
//
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Script javascript that contains functions not frequently used
|
||||
//
|
||||
// \file htdocs/lib/lib_rare.js
|
||||
// \file htdocs/core/js/lib_rare.js
|
||||
// \brief File that include javascript functions not frequently used (included if option use_javascript activated)
|
||||
|
||||
|
||||
@ -130,7 +130,7 @@ if ($_POST["action"] == 'confirm_crop')
|
||||
* View
|
||||
*/
|
||||
|
||||
llxHeader($head, $langs->trans("Image"), '', '', 0, 0, array('/includes/jquery/plugins/jcrop/js/jquery.Jcrop.min.js','/lib/lib_photosresize.js'), array('/includes/jquery/plugins/jcrop/css/jquery.Jcrop.css'));
|
||||
llxHeader($head, $langs->trans("Image"), '', '', 0, 0, array('/includes/jquery/plugins/jcrop/js/jquery.Jcrop.min.js','/core/js/lib_photosresize.js'), array('/includes/jquery/plugins/jcrop/css/jquery.Jcrop.css'));
|
||||
|
||||
|
||||
print_fiche_titre($langs->trans("ImageEditor"));
|
||||
|
||||
@ -53,7 +53,7 @@ print '<html>'."\n";
|
||||
print '<head>'."\n";
|
||||
if (GETPOST('mode') && GETPOST('mode') == 'test')
|
||||
{
|
||||
print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/lib/lib_head.js"></script>'."\n";
|
||||
print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/core/js/lib_head.js"></script>'."\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@ -953,7 +953,7 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs
|
||||
}
|
||||
// Global js function
|
||||
print '<!-- Includes JS of Dolibarr -->'."\n";
|
||||
print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/lib/lib_head.js"></script>'."\n";
|
||||
print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/core/js/lib_head.js"></script>'."\n";
|
||||
}
|
||||
|
||||
// Output module javascript
|
||||
|
||||
Loading…
Reference in New Issue
Block a user