Skip to content

Instantly share code, notes, and snippets.

View viestursGr's full-sized avatar

Viesturs Gribulis viestursGr

View GitHub Profile
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