Changeset 22484
- Timestamp:
- 11/09/2012 03:02:54 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/js/customize-controls.js
r22400 r22484 145 145 browser: this.container.find('.upload'), 146 146 dropzone: this.container.find('.upload-dropzone'), 147 success: this.success 147 success: this.success, 148 params: {} 148 149 }, this.uploader || {} ); 149 150 150 if ( this.uploader.supported ) { 151 if ( control.params.context ) 152 control.uploader.param( 'post_data[context]', this.params.context ); 153 154 control.uploader.param( 'post_data[theme]', api.settings.theme.stylesheet ); 155 } 151 if ( control.params.context ) 152 control.uploader.params['post_data[context]'] = this.params.context; 153 154 if ( api.settings.theme.stylesheet ) 155 control.uploader.params['post_data[theme]'] = api.settings.theme.stylesheet; 156 156 157 157 this.uploader = new wp.Uploader( this.uploader );
Note: See TracChangeset
for help on using the changeset viewer.