bug #3177136 [interface] Indicate that bookmark is being used on browse.

This commit is contained in:
Michal Čihař
2011-02-10 10:15:07 +01:00
parent 8762386535
commit 69c0a887fc
3 changed files with 8 additions and 0 deletions

View File

@@ -958,6 +958,11 @@ function PMA_showMessage($message, $sql_query = null, $type = 'notice', $is_view
}
}
if (isset($GLOBALS['using_bookmark_message'])) {
$GLOBALS['using_bookmark_message']->display();
unset($GLOBALS['using_bookmark_message']);
}
// Corrects the tooltip text via JS if required
// @todo this is REALLY the wrong place to do this - very unexpected here
if (! $is_view && strlen($GLOBALS['table']) && $cfg['ShowTooltip']) {