diff options
Diffstat (limited to 'modules/overlay/overlay-parent.js')
-rw-r--r-- | modules/overlay/overlay-parent.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/modules/overlay/overlay-parent.js b/modules/overlay/overlay-parent.js index 713f4c430..b2f0b16d6 100644 --- a/modules/overlay/overlay-parent.js +++ b/modules/overlay/overlay-parent.js @@ -531,26 +531,6 @@ Drupal.overlay.bindChild = function (iframeWindow, isClosing) { }; /** - * Unbind the child window. - * - * Remove keyboard event handlers, reset title and hide the iframe. - */ -Drupal.overlay.unbindChild = function (iframeWindow) { - var self = this; - var $iframeDocument = iframeWindow.jQuery(iframeWindow.document); - - // Prevent memory leaks by explicitly unbinding keyboard event handler - // on the child document. - $iframeDocument.unbind('keydown.overlay-event'); - - // Change the overlay title. - self.$container.dialog('option', 'title', Drupal.t('Please wait...')); - - // Hide the iframe element. - self.$iframe.fadeOut('fast'); -}; - -/** * Check if the given link is in the administrative section of the site. * * @param url |