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();
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue