I noticed that when dismissing a modal dialog on the views administration page, the content is never sent through `Drupal.detachBehaviors` to properly handle cleanup.

This patch addresses that by adding that call in a `beforeClose` event for the jQuery UI dialog.

Comments

cha0s created an issue.

chris matthews’s picture

The 3 year old patch to ajax.js applied cleanly to the latest views 7.x-3.x-dev and if still relevant needs to be reviewed.