Fix Media library thumbnail does not reload if a new image with the same name is uploaded

This commit is contained in:
Marcel
2018-06-27 14:09:30 +02:00
parent d30ec335b8
commit 774227314e

View File

@@ -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();
});