2
0
forked from Wavyzz/dolibarr

Fix: When jmobile is forced, we force enable of javascript.

This commit is contained in:
Laurent Destailleur
2014-08-08 14:37:51 +02:00
parent bceb72a9d1
commit d801bcc690
3 changed files with 9 additions and 2 deletions

View File

@@ -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')))
{