fix a js bug
This commit is contained in:
@@ -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 <lem9@users.sourceforge.net>
|
||||
* sql.php3, bug 463683 state tracking problem
|
||||
|
@@ -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 . '\')"';
|
||||
}
|
||||
?>
|
||||
<tr<?php echo $on_mouse; ?>>
|
||||
|
@@ -335,6 +335,7 @@ function setPointer(theRow, thePointerColor, theNormalBgColor)
|
||||
return true;
|
||||
} // end of the 'setPointer()' function
|
||||
|
||||
|
||||
/**
|
||||
* Checks/unchecks all tables
|
||||
*
|
||||
|
Reference in New Issue
Block a user