diff --git a/ChangeLog b/ChangeLog index b7190d6ed..9a3169e2c 100755 --- a/ChangeLog +++ b/ChangeLog @@ -18,8 +18,9 @@ $Source$ expression. * Documentation.html; tbl_properties.inc.php3: xhtml fix. * user_details.php3; mult_submits.inc.php3; tbl_replace.php3; - tbl_properties.php3: - removed tabs and/or trailing spaces. + tbl_properties.php3, libraries/functions.js: removed tabs and/or trailing + spaces. + * libraries/display_tbl.lib.php3, lines 724-730: fixed a js bug. 2002-02-05 Marc Delisle * sql.php3, bug 463683 state tracking problem diff --git a/libraries/display_tbl.lib.php3 b/libraries/display_tbl.lib.php3 index e13788e3e..12e54e950 100644 --- a/libraries/display_tbl.lib.php3 +++ b/libraries/display_tbl.lib.php3 @@ -721,12 +721,12 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')){ if ($disp_direction == 'horizontal') { // loic1: pointer code part - $on_mouse = ($GLOBALS['cfgBrowsePointerColor'] == '') - ? '' - : ' onmouseover="setPointer(this, \'' . $GLOBALS['cfgBrowsePointerColor'] . '\', \''.$bgcolor.'\')" onmouseout="setPointer(this, \'' . $bgcolor . '\', \''.$bgcolor.'\')"'; - - if ($GLOBALS['cfgBrowseMarkRow'] == '1') { - $on_mouse = ' onmousedown="setPointer(this, \'' . $GLOBALS['cfgBrowsePointerColor'] . '\', \''.$bgcolor.'\')"'; + if ($GLOBALS['cfgBrowsePointerColor'] == '') { + $on_mouse = ''; + } else if ($GLOBALS['cfgBrowseMarkRow'] == '1') { + $on_mouse = ' onmousedown="setPointer(this, \'' . $GLOBALS['cfgBrowsePointerColor'] . '\', \'' . $bgcolor . '\')"'; + } else { + $on_mouse = ' onmouseover="setPointer(this, \'' . $GLOBALS['cfgBrowsePointerColor'] . '\', \'' . $bgcolor . '\')" onmouseout="setPointer(this, \'' . $bgcolor . '\', \'' . $bgcolor . '\')"'; } ?> > diff --git a/libraries/functions.js b/libraries/functions.js index 80d959413..5ec1507e4 100644 --- a/libraries/functions.js +++ b/libraries/functions.js @@ -335,6 +335,7 @@ function setPointer(theRow, thePointerColor, theNormalBgColor) return true; } // end of the 'setPointer()' function + /** * Checks/unchecks all tables *