Changeset 22708
- Timestamp:
- 11/20/2012 11:29:00 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/media-views.js
r22706 r22708 2087 2087 }, this ); 2088 2088 2089 if ( this.options.dropdown )2090 this.options.dropdown.addClass('dropdown');2091 2092 2089 this.model.on( 'change', this.render, this ); 2093 2090 }, … … 2107 2104 2108 2105 this.$el.attr( 'disabled', model.disabled ); 2109 2110 // Detach the dropdown.2111 if ( this.options.dropdown )2112 this.options.dropdown.detach();2113 2114 2106 this.$el.text( this.model.get('text') ); 2115 2116 if ( this.options.dropdown )2117 this.$el.append( this.options.dropdown );2118 2107 2119 2108 return this;
Note: See TracChangeset
for help on using the changeset viewer.