forked from Wavyzz/dolibarr
Fix: When jmobile is forced, we force enable of javascript.
This commit is contained in:
@@ -722,7 +722,8 @@ if (! empty($conf->browser->phone))
|
||||
$conf->dol_optimize_smallscreen=1;
|
||||
$conf->dol_no_mouse_hover=1;
|
||||
}
|
||||
|
||||
// If we force to use jmobile, then we reenable javascript
|
||||
if (! empty($conf->dol_use_jmobile)) $conf->use_javascript_ajax=1;
|
||||
// Disabled bugged themes
|
||||
if (! empty($conf->dol_use_jmobile) && in_array($conf->theme,array('bureau2crea','cameleo')))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user