Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When a ajax reload is done, the new html does not get Drupal.attachBehaviors called on it.
Looking at the code, it is not clear how this could be done without significantly complicating the hand-off to tabs.ui.js
Comments
Comment #1
nedjoThis is a problem with the AJAX in jQuery UI tabs, which can only be used to load HTML into the tab. To fix this, we'll need to refactor and use a custom AJAX approach, something that won't happen until D7.
Comment #2
silvio CreditAttribution: silvio commentedYou might try to attach the behaviors after an ajaxComplete event by doing something like this: