patch #1191447, hand pointer on mouseover and mousedown

This commit is contained in:
Marc Delisle
2005-05-13 18:18:55 +00:00
parent 7dbe623ed0
commit 305a93536e
2 changed files with 9 additions and 0 deletions

View File

@@ -8,6 +8,8 @@ $Source$
2005-05-13 Marc Delisle <lem9@users.sourceforge.net>
* tbl_printview.php: bug #1178760, header not sent when displaying
print view of multi tables, thanks to Hrvoje Novosel - interghost
* libraries/functions.js: Patch #1191447, hand pointer on mouseover and
mousedown, thanks to Ken Stanley - eclipsboi
2005-05-11 Marc Delisle <lem9@users.sourceforge.net>
* tbl_properties.inc.php: bug #1069012, table collation forgotten

View File

@@ -412,6 +412,13 @@ function setPointer(theRow, theRowNum, theAction, theDefaultColor, thePointerCol
return false;
}
// 1.1 Sets the mouse pointer to pointer on mouseover and back to normal otherwise.
if (theAction == "over" || theAction == "click") {
theRow.style.cursor='pointer';
} else {
theRow.style.cursor='normal';
}
// 2. Gets the current row and exits if the browser can't get it
if (typeof(document.getElementsByTagName) != 'undefined') {
theCells = theRow.getElementsByTagName('td');