With the overlay module enabled, if you go to the extend/modules page it opens in the overlay.
Then if you expand a collapsible module description and click one of the administration links, like permissions or configuration, that page will not open in the overlay. Instead you will end up on that page without the overlay.
To reproduce:
- Install drupal including the overlay module.
- Go to the extend page (admin/modules). - This should open in the overlay.
- Click the description for the "System" module to expand it.
- Click the "Permissions" link for the System module. - It will not open in the overlay.
The problem is:
In the overlay module, the Drupal.overlay.eventhandlerOverrideLink function is bound to the click.drupal-overlay & mouseup.drupal-overlay events.
Normally then you click a link it will fire Drupal.overlay.eventhandlerOverrideLink twice, once for mouseup and once for click.
However, in these collapsible descriptions, it only firest for the mouseup event.
The reason for this is that the system module (in system.modules.js) stops propagation of the click event when clicking links inside the collapsible descriptions.
Lines 58-61 of system.modules.js:
// Don't close the row when clicking a link in the description.
$tbodies.on('click', '.description a', function (e) {
e.stopPropagation();
});