twitter/bootstrap — pull request #5294 by TimNZ (2012-09-26 14:20:34+00:00)
Title: trigger opened and closed events

'opened' and 'closed' events triggered for data-toggle="dropdown'.

Not sure if clearMenus() changes are robust, presuming that parent only has one dropdown in it.