#676008 by casey and mrfelton: Fixed Overlay's Loading 'spinner' graphic often not visible because it is displayed outside the viewport.
parent
dcd99e0a9a
commit
00dafaced0
|
@ -277,6 +277,10 @@ Drupal.overlay.load = function (url) {
|
||||||
self.$iframeDocument = null;
|
self.$iframeDocument = null;
|
||||||
self.$iframeBody = 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.
|
// No need to resize when loading.
|
||||||
clearTimeout(self.resizeTimeoutID);
|
clearTimeout(self.resizeTimeoutID);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue