Ticket #24716: 24716.patch
File 24716.patch, 1.1 KB (added by , 10 years ago) |
---|
-
src/wp-includes/js/media-models.js
31 31 } else if ( 'post' === attributes.frame && MediaFrame.Post ) { 32 32 frame = new MediaFrame.Post( attributes ); 33 33 } else if ( 'manage' === attributes.frame && MediaFrame.Manage ) { 34 frame = new MediaFrame.Manage( attributes ); 34 frame = new MediaFrame.Manage( attributes ); 35 35 } else if ( 'image' === attributes.frame && MediaFrame.ImageDetails ) { 36 36 frame = new MediaFrame.ImageDetails( attributes ); 37 37 } else if ( 'audio' === attributes.frame && MediaFrame.AudioDetails ) { -
src/wp-includes/js/media-views.js
2071 2071 // after creating the wrapper view, load the actual editor via an ajax call 2072 2072 view.loadEditor(); 2073 2073 2074 } ,2074 } 2075 2075 }); 2076 2076 2077 2077 /**