Customizer: Remove a `throw error` call which prevents further actions, like `jqxhr.always()`.

props westonruter.
fixes #31501.
Built from https://develop.svn.wordpress.org/trunk@31816


git-svn-id: http://core.svn.wordpress.org/trunk@31798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2015-03-18 19:29:27 +00:00
parent 9b79c36713
commit c4a624aa22
3 changed files with 3 additions and 8 deletions

View File

@ -1852,12 +1852,7 @@
controlContainer.slideDown( function() {
if ( isExistingWidget ) {
widgetFormControl.updateWidget( {
instance: widgetFormControl.setting(),
complete: function( error ) {
if ( error ) {
throw error;
}
}
instance: widgetFormControl.setting()
} );
}
} );

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.2-beta1-31815';
$wp_version = '4.2-beta1-31816';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.