Comment 69 for bug 197781

Revision history for this message
In , Daniel-glazman (daniel-glazman) wrote :

(In reply to comment #51)

> document.loadOverlay(OverlayLoader.queue[0][0], null);
...
> setTimeout('OverlayLoader.load()', 100);

Using a timeout here seems the very wrong way to go. Why don't you use an
observer as second argument to your loadOverlay() call? That way, you can
really know when the overlay is merged and pop another one from the queue.