mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-27 18:16:08 +00:00
Media Modal: Fix 'Insert from URL' oEmbed previews.
props johnbillion, azaozz. fixes #29473. Built from https://develop.svn.wordpress.org/trunk@29680 git-svn-id: http://core.svn.wordpress.org/trunk@29455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
433210a907
commit
4cfdb9851f
@ -6866,7 +6866,9 @@
|
|||||||
} ).done( _.bind( this.renderoEmbed, this ) );
|
} ).done( _.bind( this.renderoEmbed, this ) );
|
||||||
},
|
},
|
||||||
|
|
||||||
renderoEmbed: function(html) {
|
renderoEmbed: function( response ) {
|
||||||
|
var html = ( response && response.body ) || '';
|
||||||
|
|
||||||
this.spinner.hide();
|
this.spinner.hide();
|
||||||
|
|
||||||
this.$('.setting.title').hide();
|
this.$('.setting.title').hide();
|
||||||
|
2
wp-includes/js/media-views.min.js
vendored
2
wp-includes/js/media-views.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user