Fix regressions from [32649] wrt Customizer expanded and active state changes for sections.

The `args.completeCallback` was not always called when `onChangeExpanded()` was called. And when a section became inactive (`active` state goes to `false`) and it was currently `expanded`, the Customizer panel would then becomes blank as the section was hidden; it needed to `collapse()` the section first before hiding the element.

See #31336.


Built from https://develop.svn.wordpress.org/trunk@32743


git-svn-id: http://core.svn.wordpress.org/trunk@32714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter
2015-06-12 22:28:25 +00:00
parent c11e433858
commit 40ad21b58b
3 changed files with 29 additions and 9 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-alpha-32742';
$wp_version = '4.3-alpha-32743';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.