diff -r 267c9f93b51f -r 08a7875258b4 includes/clientside/static/functions.js --- a/includes/clientside/static/functions.js Mon Jul 28 13:10:22 2008 -0600 +++ b/includes/clientside/static/functions.js Mon Jul 28 13:13:09 2008 -0600 @@ -464,6 +464,11 @@ return position; } +function setScrollOffset(offset) +{ + window.scroll(0, offset); +} + // Function to fade classes info-box, warning-box, error-box, etc. function fadeInfoBoxes() @@ -568,7 +573,8 @@ blackout.style.backgroundColor = '#FFFFFF'; domObjChangeOpac(60, blackout); - blackout.style.backgroundImage = 'url(' + scriptPath + '/includes/clientside/tinymce/themes/advanced/skins/default/img/progress.gif)'; + var background = ( $(el).Height() < 48 ) ? 'url(' + scriptPath + '/images/loading.gif)' : 'url(' + scriptPath + '/includes/clientside/tinymce/themes/advanced/skins/default/img/progress.gif)'; + blackout.style.backgroundImage = background; blackout.style.backgroundPosition = 'center center'; blackout.style.backgroundRepeat = 'no-repeat'; blackout.style.zIndex = getHighestZ() + 2;