Merge pull request #1784 from nisargjhaveri/back_msg
Show loading message on back action with html5 history API
This commit is contained in:
commit
87b451b7b4
@ -706,6 +706,7 @@ $(function () {
|
||||
if (history && history.pushState) {
|
||||
$(window).on('popstate', function(event) {
|
||||
if (event && event.originalEvent.state && event.originalEvent.state.menu) {
|
||||
AJAX.$msgbox = PMA_ajaxShowMessage();
|
||||
var params = 'ajax_request=true&ajax_page_request=true';
|
||||
$.get(location.href, params, AJAX.responseHandler);
|
||||
//TODO: Check if sometimes menu is not retrieved from server,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user