Merge pull request #2730 from mvanhelmont/U4-7463
Media library thumbnail does not reload if a new image with the same name is uploaded
This commit is contained in:
@@ -73,7 +73,7 @@ function fileUploadController($scope, $element, $compile, imageHelper, fileManag
|
||||
|
||||
var extension = file.file.substring(file.file.lastIndexOf(".") + 1, file.file.length);
|
||||
|
||||
file.thumbnail = thumbnailUrl;
|
||||
file.thumbnail = thumbnailUrl + '&rnd=' + Math.random();
|
||||
file.extension = extension.toLowerCase();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user