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
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 commentedYou might try to attach the behaviors after an ajaxComplete event by doing something like this: