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:
ryan 2007-01-16 07:17:48 +00:00
parent 23148c01f3
commit 52cd53fcc4
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>";