I noticed the .ui-accordion class is being added to the element with the .view-content class. However, I don't think that that class should be applied to the .attachment .view-content when the accordion is functioning on the main view content. It hasn't caused any problems in the accordion functioning, but it might cause confusion with CSS.

Not sure how to directly differentiate from the .view-content on the view and on the attachment. Maybe somewhere the views_accordion jquery needs a .not('.attachment')?

<div class="view view-front view-id-front view-display-id-page_1 front-top view-dom-id-1">
  <div class="attachment attachment-before">
    <div class="view view-front view-id-front view-display-id-attachment_2">
      <div class="view-content ui-accordion ui-widget ui-helper-reset ui-accordion-icons" role="tablist">
         ...
      </div>   
    </div>
  </div>
  <div class="view-content ui-accordion ui-widget ui-helper-reset ui-accordion-icons" role="tablist">
     <div class="views-row views-row-1 views-row-odd views-row-first">
       ...
     </div>
  </div>
</div>

Comments

kscheirer’s picture

Version: 7.x-1.0-rc1 » 7.x-1.x-dev
Priority: Normal » Minor
Manuel Garcia’s picture

Plesase see the patch that got committed on the related issue. It shouuld help with this situation also.
#2178101: Multiple / embedded view accordions don't work