From f745c2111d202c2fc665915d4c0c74cee707a394 Mon Sep 17 00:00:00 2001 From: Bradley Broom Date: Thu, 20 Apr 2023 10:52:37 -0500 Subject: [PATCH] Add "excess" to error message for unpermitted leading zeros. See issue #28. --- build/NGCHM_GUI_Builder/WebContent/javascript/FormatOutput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/NGCHM_GUI_Builder/WebContent/javascript/FormatOutput.js b/build/NGCHM_GUI_Builder/WebContent/javascript/FormatOutput.js index 280d797..5406ac8 100644 --- a/build/NGCHM_GUI_Builder/WebContent/javascript/FormatOutput.js +++ b/build/NGCHM_GUI_Builder/WebContent/javascript/FormatOutput.js @@ -136,7 +136,7 @@ NgChmGui.FORMAT.validateMatrixBreaks = function() { break; } if (/^-*0[0-9]/.test(thresholds[i])) { - errorMsgs = errorMsgs + "

" +NgChmGui.UTIL.errorPrefix + "Color Thresholds contain an entry(s) with leading zero(s).

"; + errorMsgs = errorMsgs + "

" +NgChmGui.UTIL.errorPrefix + "Color Thresholds contain an entry(s) with excess leading zero(s).

"; break; } var currThresh = parseFloat(thresholds[i]);