Customizer: When widget reorder button is actioned, transfer focus to the first Move control within the section.
fixes #28891. Built from https://develop.svn.wordpress.org/trunk@29242 git-svn-id: http://core.svn.wordpress.org/trunk@29026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fdd0756e5a
commit
37e51e558c
|
@ -1586,6 +1586,8 @@
|
||||||
_( this.getWidgetFormControls() ).each( function( formControl ) {
|
_( this.getWidgetFormControls() ).each( function( formControl ) {
|
||||||
formControl.collapseForm();
|
formControl.collapseForm();
|
||||||
} );
|
} );
|
||||||
|
|
||||||
|
this.$sectionContent.find( '.first-widget .move-widget' ).focus();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue