Changeset 32894
- Timestamp:
- 06/20/2015 09:07:03 PM (10 years ago)
- Location:
- trunk/src/wp-includes/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/media-views.js
r32697 r32894 7875 7875 */ 7876 7876 drop: function( event ) { 7877 var $wrap = null, uploadView;7877 var $wrap, uploadView; 7878 7878 7879 7879 this.containerDragleave( event ); … … 7892 7892 7893 7893 if ( ! this.workflow ) { 7894 this.workflow = wp.media.editor.open( 'content', {7894 this.workflow = wp.media.editor.open( window.wpActiveEditor, { 7895 7895 frame: 'post', 7896 7896 state: 'insert', … … 7898 7898 multiple: true 7899 7899 }); 7900 7900 7901 uploadView = this.workflow.uploader; 7902 7901 7903 if ( uploadView.uploader && uploadView.uploader.ready ) { 7902 7904 this.addFiles.apply( this ); -
trunk/src/wp-includes/js/media/views/uploader/editor.js
r32677 r32894 129 129 */ 130 130 drop: function( event ) { 131 var $wrap = null, uploadView;131 var $wrap, uploadView; 132 132 133 133 this.containerDragleave( event ); … … 146 146 147 147 if ( ! this.workflow ) { 148 this.workflow = wp.media.editor.open( 'content', {148 this.workflow = wp.media.editor.open( window.wpActiveEditor, { 149 149 frame: 'post', 150 150 state: 'insert', … … 152 152 multiple: true 153 153 }); 154 154 155 uploadView = this.workflow.uploader; 156 155 157 if ( uploadView.uploader && uploadView.uploader.ready ) { 156 158 this.addFiles.apply( this );
Note: See TracChangeset
for help on using the changeset viewer.