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:
Ryan Boren 2007-01-16 07:17:48 +00:00
parent 83906b5169
commit a5c4b6110c
1 changed files with 1 additions and 1 deletions

View File

@ -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>";