Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,11 @@
success: function(data) {
document.getElementById('uploadFileInput').value = '';
$("#uploadFileModal").modal('hide');
}
},
error: function(data) {
$("#uploadFileModal").modal('hide');
showNotification(" Error while attempting to upload files!", "danger", 10000);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indentation but also, the error should not fade out, otherwise if the user leaves to get a coffee after clicking upload or gets distracted and then come back they won't see the error message.

}
});

});
Expand Down