mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
NEW: add const to not include JQuery UI in top_htmlhead DISABLE_JQUERY_UI
This commit is contained in:
parent
15dec468cb
commit
867215e2ea
|
|
@ -2120,8 +2120,6 @@ function top_htmlhead($head, $title = '', $disablejs = 0, $disablehead = 0, $arr
|
|||
} else {
|
||||
print '<script nonce="'.getNonce().'" src="'.DOL_URL_ROOT.'/includes/jquery/js/jquery.min.js'.($ext ? '?'.$ext : '').'"></script>'."\n";
|
||||
}
|
||||
|
||||
|
||||
if (!defined('DISABLE_JQUERY_UI')) {
|
||||
if (defined('JS_JQUERY_UI') && constant('JS_JQUERY_UI')) {
|
||||
print '<script nonce="' . getNonce() . '" src="' . JS_JQUERY_UI . 'jquery-ui.min.js' . ($ext ? '?' . $ext : '') . '"></script>' . "\n";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user