mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-17 03:56:07 +00:00
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:
parent
9b79c36713
commit
c4a624aa22
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} );
|
} );
|
||||||
}
|
}
|
||||||
} );
|
} );
|
||||||
|
2
wp-admin/js/customize-widgets.min.js
vendored
2
wp-admin/js/customize-widgets.min.js
vendored
File diff suppressed because one or more lines are too long
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user