Make WordPress Core

Changeset 28270 for branches/3.9


Ignore:
Timestamp:
05/06/2014 04:29:49 AM (10 years ago)
Author:
nacin
Message:

Customizer: Only tie header button action events to the header controls.

Merges [28269] to the 3.9 branch.

props danielbachhuber.
fixes #28046. see #27848.

Location:
branches/3.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.9

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

    r28102 r28270  
    310310    api.HeaderControl = api.Control.extend({
    311311        ready: function() {
    312             this.btnRemove        = $('.actions .remove');
    313             this.btnNew           = $('.actions .new');
     312            this.btnRemove        = $('#customize-control-header_image .actions .remove');
     313            this.btnNew           = $('#customize-control-header_image .actions .new');
    314314
    315315            _.bindAll(this, 'openMedia', 'removeImage');
Note: See TracChangeset for help on using the changeset viewer.