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

fixes #25821.

Built from https://develop.svn.wordpress.org/trunk@26696


git-svn-id: http://core.svn.wordpress.org/trunk@26586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2013-12-05 22:27:11 +00:00
parent b8882b3511
commit d0e4753aef
2 changed files with 2 additions and 2 deletions

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 );

File diff suppressed because one or more lines are too long