From fcee338804632469948959f0b151f08f52fc3d8a Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Mon, 14 Nov 2005 11:23:47 +0000 Subject: [PATCH] pmaTooltip(): undefined variable docY --- ChangeLog | 5 ++++- libraries/tooltip.js | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 469f7e32f..76ec782ad 100755 --- a/ChangeLog +++ b/ChangeLog @@ -8,7 +8,10 @@ $Source$ 2005-11-14 Sebastian Mendel * 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 + * libraries/tooltip.js::pmaTooltip(): + - no return value (not always returns a value) + - additional check + - undefined variable docY 2005-11-13 Michal Čihař * Documentation.html, config.default.php, main.php, server_links.inc.php, diff --git a/libraries/tooltip.js b/libraries/tooltip.js index 766ade8fc..9f39fae6e 100644 --- a/libraries/tooltip.js +++ b/libraries/tooltip.js @@ -145,7 +145,7 @@ function pmaTooltip( theText ) { } } - var plusX=0, plusY=0, docX=0; docY=0; + var plusX=0, plusY=0, docX=0, docY=0; var divHeight = myTooltipContainer.clientHeight; var divWidth = myTooltipContainer.clientWidth; if (navigator.appName.indexOf("Explorer")!=-1) {