Disable phpMyAdmin ajax notifications

Installed a new version of phpMyAdmin 4.2.7 and noticed that with ajax version appeared a notification about every action in the middle of the screen. It is often notifies not mandatory actions, such as loading the page and it can be annoying. Found a file js/messages.php which stores the texts of these notifications, and each message is wrapped in a div tag with id="loading_parent". In order to hide this tag with unnecessary notifications, I added in the message text css code:

<style>#loading_parent {display:none;}</style>

For example page loading notification:

$js_messages['strLoading'] = __('Loading…');

changed to

$js_messages['strLoading'] = __('Loading…<style>#loading_parent {display:none;}</style>');

And this notice does not show.

This entry was posted in Programming and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *