From 25476411e1502d92fe27e19e29197381f44ebecd Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Mon, 15 Feb 2016 15:24:23 -0500 Subject: [PATCH] Error styling. --- themes/bootstrap3/js/check_item_statuses.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/bootstrap3/js/check_item_statuses.js b/themes/bootstrap3/js/check_item_statuses.js index 5dc90bdb569..0aeec0d860a 100644 --- a/themes/bootstrap3/js/check_item_statuses.js +++ b/themes/bootstrap3/js/check_item_statuses.js @@ -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'); }); } -- GitLab