making file extensions lowercase so the icon shows up.
This commit is contained in:
parent
cb4729f7e7
commit
dce2c3c62f
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue