2
0
forked from Wavyzz/dolibarr

Fix option testmenuhider. Constant to test it is MAIN_TESTMENUHIDER

This commit is contained in:
Laurent Destailleur
2016-06-12 20:23:25 +02:00
parent aed2c5cb30
commit 65cbf1623b
10 changed files with 80 additions and 16 deletions

View File

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