diff --git a/js/ajax.js b/js/ajax.js index 18f3edf70d..5ff0a6857f 100644 --- a/js/ajax.js +++ b/js/ajax.js @@ -544,7 +544,11 @@ AJAX.cache = { * @return void */ navigate: function (index) { - if (typeof this.pages[index] === 'undefined') { + if (typeof this.pages[index] === 'undefined' + || typeof this.pages[index].content === 'undefined' + || typeof this.pages[index].menu === 'undefined' + || ! AJAX.cache.menus.get(this.pages[index].menu) + ) { PMA_ajaxShowMessage( '