Muhittin Tan


My Personal Blog

Field Collection Tabs Not Working Properly

If you see just links, not tabs then you are in the right place. What you need to do is find field_collection_tabs.js file in the field collection tabs module. There you will see smt likeĀ 

/**
 * JS related to the tabs.
 */
Drupal.behaviors.fieldCollectionTabs = {
  attach: function (context) {

    $('.field-collection-tabs', context)
      .once('.tabs-processed') //THIS WILL CHANGE
      .tabs();
  }
};

here change it to