Commit 4af38f21 authored by Dries's avatar Dries
Browse files

- Patch #684474 by casey: overlay was re-applying behaviors.

parent 0f3085c3
......@@ -459,15 +459,16 @@ Drupal.overlay.bindChild = function (iframeWindow, isClosing) {
$tabs = $(self.$iframeWindow('<div>').append($tabs).remove().html());
if ($'.primary')) {
// Remove any classes from the list element to avoid theme styles
// clashing with our styling.
// Re-attach the behaviors we lost while copying elements from the iframe
// document to the parent document.
// Try to enhance keyboard based navigation of the overlay.
// Logic inspired by the open() method in ui.dialog.js, and
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