diff --git a/ChangeLog b/ChangeLog index 37e757012..6bfda6cd8 100755 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,8 @@ $Source$ 2005-05-13 Marc Delisle * 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 * tbl_properties.inc.php: bug #1069012, table collation forgotten diff --git a/libraries/functions.js b/libraries/functions.js index 3418e2e53..0bc6c716c 100644 --- a/libraries/functions.js +++ b/libraries/functions.js @@ -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');