Commit 00daface authored by webchick's avatar webchick

#676008 by casey and mrfelton: Fixed Overlay's Loading 'spinner' graphic often...

#676008 by casey and mrfelton: Fixed Overlay's Loading 'spinner' graphic often not visible because it is displayed outside the viewport.
parent dcd99e0a
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment