pmaTooltip(): no return value, additional check
This commit is contained in:
@@ -8,6 +8,7 @@ $Source$
|
||||
2005-11-14 Sebastian Mendel <cybot_tm@users.sourceforge.net>
|
||||
* themes/*/css/theme_right.css.php, css/phpmyadmin.css.php:
|
||||
bug #1342683 Wrong URL to error.ico
|
||||
* libraries/tooltip.js: no return value, additional check
|
||||
|
||||
2005-11-13 Michal Čihař <michal@cihar.com>
|
||||
* Documentation.html, config.default.php, main.php, server_links.inc.php,
|
||||
|
@@ -127,7 +127,7 @@ function moveTooltip(posX, posY) {
|
||||
*
|
||||
* @param string theText tooltip content
|
||||
*/
|
||||
function pmaTooltip(theText) {
|
||||
function pmaTooltip( theText ) {
|
||||
// reference to TooltipContainer
|
||||
if ( null == myTooltipContainer ) {
|
||||
if (ttNS4) {
|
||||
@@ -137,7 +137,11 @@ function pmaTooltip(theText) {
|
||||
} else if (ttDOM) {
|
||||
myTooltipContainer = document.getElementById('TooltipContainer');
|
||||
} else {
|
||||
return false;
|
||||
return;
|
||||
}
|
||||
|
||||
if ( typeof( myTooltipContainer ) == 'undefined' ) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user