diff --git a/js/navigation.js b/js/navigation.js index c134f34702..ae8704b74b 100644 --- a/js/navigation.js +++ b/js/navigation.js @@ -552,12 +552,15 @@ $(function () { if ($('#pma_navigation_tree_content').length && typeof storage.navTreePaths === 'undefined' ) { - navTreeStateUpdate(); + PMA_reloadNavigation(); } else if (PMA_commonParams.get('server') === storage.server && PMA_commonParams.get('token') === storage.token ) { // Reload the tree to the state before page refresh PMA_reloadNavigation(null, JSON.parse(storage.navTreePaths)); + } else { + // If the user is different + navTreeStateUpdate(); } } });