Customizer: Restore Shift + Clicking on widgets to open the widgets panel.
Includes an alternative for jQuery UI's `:focusable` selector because it has an ancestor visibility requirement, see https://github.com/jquery/jquery-ui/pull/1583. props westonruter. fixes #33258. Built from https://develop.svn.wordpress.org/trunk@33596 git-svn-id: http://core.svn.wordpress.org/trunk@33563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f673128a13
commit
04c21a0e3c
|
@ -73,8 +73,9 @@
|
|||
} else {
|
||||
focusContainer = construct.container;
|
||||
}
|
||||
focusContainer.find( ':focusable:first' ).focus();
|
||||
focusContainer[0].scrollIntoView( true );
|
||||
|
||||
// Note that we can't use :focusable due to a jQuery UI issue. See: https://github.com/jquery/jquery-ui/pull/1583
|
||||
focusContainer.find( 'input, select, textarea, button, object, a[href], [tabindex]' ).filter( ':visible' ).first().focus();
|
||||
};
|
||||
if ( params.completeCallback ) {
|
||||
completeCallback = params.completeCallback;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1270,7 +1270,7 @@
|
|||
|
||||
if ( expanded ) {
|
||||
|
||||
if ( 'undefined' != typeof api.section( self.section ) && ! api.section( self.section ).expanded() ) {
|
||||
if ( self.section() && api.section( self.section() ) ) {
|
||||
self.expandControlSection();
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.3-RC2-33595';
|
||||
$wp_version = '4.3-RC2-33596';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue