2
0
forked from Wavyzz/dolibarr

FIX the autofocus feature

This commit is contained in:
Laurent Destailleur
2018-11-13 11:36:57 +01:00
parent 723654efea
commit 77582b2a41

View File

@@ -7061,6 +7061,7 @@ function printCommonFooter($zone='private')
if (! empty($conf->use_javascript_ajax))
{
print '<script type="text/javascript" language="javascript">'."\n";
print 'jQuery(document).ready(function() {'."\n";
if ($zone == 'private' && empty($conf->dol_use_jmobile))
{
@@ -7143,6 +7144,8 @@ function printCommonFooter($zone='private')
}
}
print '});'."\n";
// Google Analytics
// TODO Add a hook here
if (! empty($conf->google->enabled) && ! empty($conf->global->MAIN_GOOGLE_AN_ID))