WordPress.org

Make WordPress Core

Changeset 33354


Ignore:
Timestamp:
07/22/2015 01:24:47 AM (5 years ago)
Author:
azaozz
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/widgets.js

    r33088 r33354  
    147147                    wpWidgets.hoveredSidebar = $wrap;
    148148                    $wrap.removeClass( 'closed' );
    149                     sidebars.sortable( 'refresh' );
    150                 }
     149                }
     150
     151                $( this ).sortable( 'refresh' );
    151152            },
    152153
Note: See TracChangeset for help on using the changeset viewer.