summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-04-30 05:25:19 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-04-30 05:25:19 +0000
commit1883b535a470dee68a924ae53c14160c0e594e1b (patch)
tree9d83a7053362545d4105dbbfadfa53e9c2cb5914
parentd9ada384ee9ad1e990fb28fe4728b91f092ad17f (diff)
downloadbrdo-1883b535a470dee68a924ae53c14160c0e594e1b.tar.gz
brdo-1883b535a470dee68a924ae53c14160c0e594e1b.tar.bz2
#754746 follow-up by cwgordon7: Fixed Overlay should use events instead of single callbacks.
-rw-r--r--modules/overlay/overlay-parent.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/overlay/overlay-parent.js b/modules/overlay/overlay-parent.js
index 0d92d83ed..f4688af69 100644
--- a/modules/overlay/overlay-parent.js
+++ b/modules/overlay/overlay-parent.js
@@ -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;