#676008 by casey and mrfelton: Fixed Overlay's Loading 'spinner' graphic often not visible because it is displayed outside the viewport.

merge-requests/26/head
Angie Byron 2010-01-10 23:56:00 +00:00
parent dcd99e0a9a
commit 00dafaced0
1 changed files with 4 additions and 0 deletions

View File

@ -277,6 +277,10 @@ Drupal.overlay.load = function (url) {
self.$iframeDocument = null;
self.$iframeBody = null;
// Reset lastHeight so the overlay fits user's viewport and the loading
// spinner is centered.
self.lastHeight = 0;
self.outerResize();
// No need to resize when loading.
clearTimeout(self.resizeTimeoutID);