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:
parent
e9da1dc1f2
commit
f288ec0581
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} );
|
} );
|
||||||
}
|
}
|
||||||
} );
|
} );
|
||||||
|
|
Loading…
Reference in New Issue