Send to edit fix for non-image uploads. Props donncha. fixes #3486
git-svn-id: https://develop.svn.wordpress.org/trunk@4743 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
83906b5169
commit
a5c4b6110c
|
@ -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