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

props westonruter.
fixes #31501.

git-svn-id: https://develop.svn.wordpress.org/trunk@31816 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2015-03-18 19:28:14 +00:00
parent e9da1dc1f2
commit f288ec0581
1 changed files with 1 additions and 6 deletions

View File

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