Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.3.0
-
Fix Version/s: 4.3.0
-
Component/s: Core CiviCRM
-
Labels:None
Description
To document the changes:
- It's no longer necessary to call cj().crmAccordions() multiple times per page. Even accordions added via ajax will be handled.
- crmaccordions is now crmAccordions (camelCase)
- the css classes crm-accordion-open & crm-accordion_title-accordion have been removed as superfluous.
- the css class crm-accordion-closed has been renamed "collapsed"
- the markup <div class="icon crm-accordion-pointer"></div> is no longer needed and has been removed.
- a simple, collapsible div has also been defined, reusing js and css from crmaccordions. It can be used when accordion styling is not desired.
- open/close animations added
- "active" class added to indicate that an accordion has content. on the contact/edit screen this now works in realtime
- accordions in advanced search can be cleared via a link in the header
- a new method cj('#selector).crmAccordionToggle(speed); has been added to make opening/closing an accordion via js easy and consistent.
Attachments
Issue Links
- is supplemented by
-
CRM-11164 AJAX-loaded accordions don't open on contact/edit screen
- Done/Fixed