twitter/bootstrap — pull request #7970 by simsalabim (2013-05-23 07:36:03+00:00)
Title: Make collapsible 'parent' option independent on '.accordion-group'

This is a copy of #7600 with request destination changed.

Currently `parent` option of collapsible plugin relies on `.accordion-group` class, which is quite unobvious and discouraging, because according to the [documentation](http://twitter.github.io/bootstrap/javascript.html#collapse) is should not.

> parent - type(selector) - default(false); If selector then all collapsible elements under the specified parent will be closed when this collapsible item is shown. (similar to traditional accordion behavior)

And this can't be known unless you browse through the source code.
In this pull request I propose a fix.