making file extensions lowercase so the icon shows up.

This commit is contained in:
Matthew Wilson 2005-11-19 22:32:21 +00:00
parent cb4729f7e7
commit dce2c3c62f

View file

@ -69,7 +69,7 @@ function FileUploadControl_swapImage(firedobj) {
var imgPath = this.images["unknown"];
if (parts.length !=1) {
var extension = parts[parts.length -1];
var extension = parts[parts.length -1].toLowerCase();
if (this.images[extension]) {
imgPath = this.images[extension];
}