fixed bugs #7251 , #6524: Make the folding/unfolding of the menu items use AJAX,...