Send to edit fix for non-image uploads. Props donncha. fixes #3486
git-svn-id: http://svn.automattic.com/wordpress/trunk@4743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
23148c01f3
commit
52cd53fcc4
|
@ -238,7 +238,7 @@ addLoadEvent( function() {
|
||||||
if ( display && 'title' != display )
|
if ( display && 'title' != display )
|
||||||
h += "<img src='" + ( 'thumb' == display ? ( this.currentImage.thumbBase + this.currentImage.thumb ) : ( this.currentImage.srcBase + this.currentImage.src ) ) + "' alt='" + this.currentImage.title + "' />";
|
h += "<img src='" + ( 'thumb' == display ? ( this.currentImage.thumbBase + this.currentImage.thumb ) : ( this.currentImage.srcBase + this.currentImage.src ) ) + "' alt='" + this.currentImage.title + "' />";
|
||||||
else
|
else
|
||||||
h += this.currentImage.title;
|
h += this.currentImage.srcBase + this.currentImage.src;
|
||||||
if ( 'none' != link )
|
if ( 'none' != link )
|
||||||
h += "</a>";
|
h += "</a>";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue