Make WordPress Core

Changeset 31816


Ignore:
Timestamp:
03/18/2015 07:28:14 PM (11 years ago)
Author:
ocean90
Message:

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

props westonruter.
fixes #31501.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/customize-widgets.js

    r31706 r31816  
    18531853                                if ( isExistingWidget ) {
    18541854                                        widgetFormControl.updateWidget( {
    1855                                                 instance: widgetFormControl.setting(),
    1856                                                 complete: function( error ) {
    1857                                                         if ( error ) {
    1858                                                                 throw error;
    1859                                                         }
    1860                                                 }
     1855                                                instance: widgetFormControl.setting()
    18611856                                        } );
    18621857                                }
Note: See TracChangeset for help on using the changeset viewer.