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


nedjo’s picture

This 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.

silvio’s picture

You might try to attach the behaviors after an ajaxComplete event by doing something like this:

  $('#content:not(.content-YOUR_MODULE-processed)', context).each(function () {
      $(this).ajaxComplete(function() {