Skip to content
Snippets Groups Projects
Commit 25476411 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Error styling.

parent 340cbeee
No related merge requests found
......@@ -55,7 +55,7 @@ function checkItemStatuses() {
+ result.locationList[x].location + '</span> ';
}
} else {
locationListHTML += '<i class="fa fa-remove text-error"></i> <span class="text-error"">'
locationListHTML += '<i class="fa fa-remove text-danger"></i> <span class="text-danger"">'
+ result.locationList[x].location + '</span> ';
}
locationListHTML += '</div>';
......@@ -82,7 +82,7 @@ function checkItemStatuses() {
.fail(function(response, textStatus) {
if (textStatus == "abort") { return; }
// display the error message on each of the ajax status place holder
$(".ajax-availability").empty().append(response.responseJSON.data);
$(".ajax-availability").empty().append(response.responseJSON.data).addClass('text-danger');
});
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment