xwpco/wordpress-develop — pull request #36 by kienstra (2014-10-22 23:31:49+00:00)
Title: Trac 28709

Implements 2 todos in customize-controls.js : 413
In wp.customize.Panel.toggleExpanded(), the sibling sections and panels must be collapsed before the panel is expanded.
This pull request uses hasExpandedElement() to check that the siblings are collapsed. If they are not, it sets a 250 millisecond timeout before executing expandPanel().