Merge remote-tracking branch 'origin/4.0' into develop

This commit is contained in:
Laurent Destailleur
2016-11-20 15:48:24 +01:00

View File

@@ -5500,11 +5500,14 @@ function printCommonFooter($zone='private')
});'."\n";
print '});'."\n";
print '<!-- Set handler to switch left menu page -->'."\n";
print 'jQuery(".menuhider").click(function() {';
print " $('.side-nav').toggle();";
if ($conf->theme == 'md') print " $('.login_block').toggle();";
print '});'."\n";
if (empty($conf->dol_use_jmobile))
{
print '<!-- Set handler to switch left menu page -->'."\n";
print 'jQuery(".menuhider").click(function() {';
print " $('.side-nav').toggle();";
if ($conf->theme == 'md') print " $('.login_block').toggle();";
print '});'."\n";
}
print '</script>'."\n";
}