Skip to content

Instantly share code, notes, and snippets.

Avatar

Viesturs Gribulis viestursGr

View GitHub Profile
View creation.js
this.on("success", function (file, response) {
if (response && response.length > 0) {
$.each(response, function (i, v) {
uploadedFileMap[file.upload.uuid] = response.find(function (element) {
return file.name == element.originalName;
});
});
}
changeThumbnailSuccessState(file, response);
//here