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:
Andrew Nacin 2014-09-03 00:37:16 +00:00
parent 433210a907
commit 4cfdb9851f
2 changed files with 4 additions and 2 deletions

View File

@ -6866,7 +6866,9 @@
} ).done( _.bind( this.renderoEmbed, this ) );
},
renderoEmbed: function(html) {
renderoEmbed: function( response ) {
var html = ( response && response.body ) || '';
this.spinner.hide();
this.$('.setting.title').hide();

File diff suppressed because one or more lines are too long