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:
Sergey Biryukov 2014-07-19 03:24:15 +00:00
parent fdd0756e5a
commit 37e51e558c
2 changed files with 3 additions and 1 deletions

View File

@ -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