Skip to content
Snippets Groups Projects
Commit 1883b535 authored by Angie Byron's avatar Angie Byron
Browse files

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

parent d9ada384
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment