Widgets: Add click-to-add widgets to the bottom (not top) of the target sidebar.

fixes #25821.


git-svn-id: https://develop.svn.wordpress.org/trunk@26696 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2013-12-05 22:26:45 +00:00
parent ddc9ed51e8
commit 3831c95a04

View File

@ -433,7 +433,7 @@ wpWidgets = {
// Open the widgets container
sidebar.closest( '.widgets-holder-wrap' ).removeClass('closed');
sidebar.find('.sidebar-description').after( widget );
sidebar.append( widget );
sidebar.sortable('refresh');
wpWidgets.save( widget, 0, 0, 1 );