diff -r 460e483987ab -r ab6f55abb17e includes/clientside/static/functions.js --- a/includes/clientside/static/functions.js Sat Jul 12 00:31:44 2008 -0400 +++ b/includes/clientside/static/functions.js Sat Jul 12 03:32:57 2008 -0400 @@ -439,6 +439,26 @@ return blackout; } +/** + * Take a div generated by whiteOutElement() and report success using the glossy "check" graphic. Sets the image, then + * briefly fades in, then fades out and destroys the box so as to re-allow control over the underlying element + */ + +function whiteOutReportSuccess(whitey) +{ + // fade the status indicator in and then out + whitey.style.backgroundImage = 'url(' + scriptPath + '/images/check.png)'; + domOpacity(whitey, 60, 80, 500); + setTimeout(function() + { + domOpacity(whitey, 60, 0, 500); + }, 750); + setTimeout(function() + { + whitey.parentNode.removeChild(whitey); + }, 1250); +} + // other DHTML functions function fetch_offset(obj)