WordPress.org

Make WordPress Core

Changeset 23164


Ignore:
Timestamp:
12/10/12 23:17:14 (3 years ago)
Author:
nacin
Message:

Makes sure attachment sizes are correctly deselected in IE. Fixes size selections on insert in IE9. props koopersmith. fixes #22851. for the 3.5 branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.5/wp-includes/js/media-views.js

    r23124 r23164  
    39013901 
    39023902                if ( $value.length ) { 
     3903                    $setting.find('option').prop( 'selected', false ); 
    39033904                    $value.prop( 'selected', true ); 
    39043905                } else { 
    39053906                    // If we can't find the desired value, record what *is* selected. 
    3906                     this.model.set( $setting.data('setting'), $setting.find(':selected').val() ); 
     3907                    this.model.set( key, $setting.find(':selected').val() ); 
    39073908                } 
    39083909 
Note: See TracChangeset for help on using the changeset viewer.