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.

git-svn-id: https://develop.svn.wordpress.org/trunk@33354 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2015-07-22 01:24:47 +00:00
parent 2ab769b1b9
commit 4e7b5dca5b

View File

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