Index: branches/RC/core/admin_templates/js/ajax.js =================================================================== diff -u -N -r11693 -r11865 --- branches/RC/core/admin_templates/js/ajax.js (.../ajax.js) (revision 11693) +++ branches/RC/core/admin_templates/js/ajax.js (.../ajax.js) (revision 11865) @@ -107,13 +107,15 @@ if (p_id != '') { var $content_div = $( jq('#' + p_id) ); var $content_offset = $content_div.offset(); + var $content_width = $content_div.width(); var $content_height = $content_div.height(); // alert('id: ' + p_id + '; ch: ' + $content_div.get(0).clientHeight + '; sh: ' + $content_div.get(0).style.height); var $parent_div = $content_div.parents(':first'); // use parent height, when own height is larger, then parent's + $content_width = Math.min($content_width, $parent_div.width()); $content_height = Math.min($content_height, $parent_div.height()); var $progress_overlay = $( jq('#' + p_id + '_progress') ); @@ -148,6 +150,7 @@ // show progress, only when target div is visible $progress_overlay.css( { + width: $content_width, height: $content_height, top: $content_offset.top + $parent_div.scrollTop() }