Commit 1883b535 authored by webchick's avatar webchick
Browse files

#754746 follow-up by cwgordon7: Fixed Overlay should use events instead of single callbacks.

parent d9ada384
......@@ -335,7 +335,7 @@ Drupal.overlay.load = function (url) {
// class is being used to hide the iframe while loading.
// See overlay-parent.css .overlay-loaded #overlay-element.
self.$dialog.removeClass('overlay-loaded');
self.$iframe
self.$iframe.once('overlay-event-load')
.bind('load.overlay-event', function () {
self.isLoading = false;
......
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