Make WordPress Core

Ticket #30683: 30683.default-empty.diff

File 30683.default-empty.diff, 441 bytes (added by celloexpressions, 12 years ago)

Empty the setting when restoring the default.

  • src/wp-admin/js/customize-controls.js

     
    10911091                        event.preventDefault();
    10921092
    10931093                        this.params.attachment = this.params.defaultAttachment;
    1094                         this.setting( this.params.defaultAttachment.url );
     1094                        this.setting( '' );
    10951095                },
    10961096
    10971097                /**