Skip to content
Snippets Groups Projects
Verified Commit 82939c21 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

FIX fileupload.js error message

parent 4c42b9b0
Branches
Tags
2 merge requests!37prepare release v0.3.1,!6Tmp code
Pipeline #5858 passed
......@@ -118,8 +118,8 @@ var fileupload = new function() {
var input = $(property).find(".caosdb-f-property-value input");
return function(event, error, xhr) {
if (xhr.status == "401") {
// add success message
input.after(`<div class="alert alert-success alert-dismissible"
// add error message
input.after(`<div class="alert alert-danger alert-dismissible"
role="alert">
<button type="button" class="close" data-dismiss="alert"
aria-label="Close"><span aria-hidden="true">&times;</span></button>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment