summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Views/JsonValidator
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-08-06 01:16:55 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-09-14 19:05:59 -0400
commitd88d3505ec75c3633cdd5d57058a5d290e558dfb (patch)
tree2dcab084db69b491998b51efa43d7a6b3fc65090 /src/SMAPI.Web/Views/JsonValidator
parente51638948f4355c27d6b3f02d637d4ed754ccb73 (diff)
downloadSMAPI-d88d3505ec75c3633cdd5d57058a5d290e558dfb.tar.gz
SMAPI-d88d3505ec75c3633cdd5d57058a5d290e558dfb.tar.bz2
SMAPI-d88d3505ec75c3633cdd5d57058a5d290e558dfb.zip
add error type code to HTML for convenience when adding custom error messages (#654)
Diffstat (limited to 'src/SMAPI.Web/Views/JsonValidator')
-rw-r--r--src/SMAPI.Web/Views/JsonValidator/Index.cshtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Web/Views/JsonValidator/Index.cshtml b/src/SMAPI.Web/Views/JsonValidator/Index.cshtml
index 1cf35e39..6e5da7e5 100644
--- a/src/SMAPI.Web/Views/JsonValidator/Index.cshtml
+++ b/src/SMAPI.Web/Views/JsonValidator/Index.cshtml
@@ -111,7 +111,7 @@ else if (Model.PasteID != null)
@foreach (JsonValidatorErrorModel error in Model.Errors)
{
- <tr>
+ <tr data-schema-error="@error.SchemaErrorType">
<td><a href="#L@(error.Line)">@error.Line</a></td>
<td>@error.Path</td>
<td>@error.Message</td>