Changeset 1566

Show
Ignore:
Timestamp:
2008-02-19 17:35:07 (7 months ago)
Author:
wwalc
Message:

Fix for #1693 - Custom error messages are now properly displayed in the file browser

Location:
FCKeditor/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/filemanager/browser/default/browser.html

    r1565 r1566  
    141141function OnUploadCompleted( errorNumber, fileUrl, fileName, customMsg ) 
    142142{ 
    143         window.frames['frmUpload'].OnUploadCompleted( errorNumber, fileName ) ; 
     143        if (errorNumber == "1") 
     144                window.frames['frmUpload'].OnUploadCompleted( errorNumber, customMsg ) ; 
     145        else 
     146                window.frames['frmUpload'].OnUploadCompleted( errorNumber, fileName ) ; 
    144147} 
    145148 
  • FCKeditor/trunk/_whatsnew.html

    r1565 r1566  
    107107                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1670">#1670</a>] Improved the background color 
    108108                        behind smiley icons and special characters in their corresponding dialogs.</li> 
     109                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1693">#1693</a>] Custom error messages are now  
     110                        properly displayed in the file browser.</li> 
    109111        </ul> 
    110112        <p>