Widgets screen: while dragging a widget over a closed sidebar refresh only the widgets in the current sidebar instead of all widgets in all sidebars.

Props chriscct7. Fixes #33015.
Built from https://develop.svn.wordpress.org/trunk@33354


git-svn-id: http://core.svn.wordpress.org/trunk@33326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz
2015-07-22 01:25:26 +00:00
parent 45bfab3aa8
commit e5340ea63f
3 changed files with 4 additions and 3 deletions

View File

@@ -146,8 +146,9 @@ wpWidgets = {
if ( $wrap.hasClass( 'closed' ) ) {
wpWidgets.hoveredSidebar = $wrap;
$wrap.removeClass( 'closed' );
sidebars.sortable( 'refresh' );
}
$( this ).sortable( 'refresh' );
},
/**