mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Simplification des options activation ajax/javascript
This commit is contained in:
parent
ae873ca72d
commit
1e189b606c
|
|
@ -319,7 +319,7 @@ if (! empty($_GET["theme"]))
|
|||
// Si feuille de style en php existe
|
||||
if (file_exists(DOL_DOCUMENT_ROOT.'/'.$conf->css.".php")) $conf->css.=".php";
|
||||
|
||||
if (isset($user->conf->MAIN_DISABLE_JAVASCRIPT) && $user->conf->MAIN_DISABLE_JAVASCRIPT)
|
||||
if (! empty($user->conf->MAIN_DISABLE_JAVASCRIPT))
|
||||
{
|
||||
$conf->use_javascript_ajax=! $user->conf->MAIN_DISABLE_JAVASCRIPT;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user