--- phpMyAdmin-2.2.3-orig/libraries/functions.js Thu Jan 3 13:09:30 2002 +++ phpMyAdmin-2.2.3/libraries/functions.js Mon Jan 21 12:39:02 2002 @@ -303,7 +303,7 @@ * * @return boolean whether pointer is set or not */ -function setPointer(theRow, thePointerColor) +function setPointer(theRow, thePointerColor, theNormalBgColor) { if (thePointerColor == '' || typeof(theRow.style) == 'undefined') { return false; @@ -320,7 +320,11 @@ var rowCellsCnt = theCells.length; for (var c = 0; c < rowCellsCnt; c++) { - theCells[c].style.backgroundColor = thePointerColor; + if (theCells[c].style.backgroundColor.toLowerCase() == thePointerColor.toLowerCase()) { + theCells[c].style.backgroundColor = theNormalBgColor; + } else { + theCells[c].style.backgroundColor = thePointerColor; + } } return true;