From b88d068d987169743a72d3c12d53b34ae8b702fc Mon Sep 17 00:00:00 2001 From: Justin Date: Wed, 3 May 2023 13:32:09 +0800 Subject: [PATCH] hog and cattle added to commodities validation --- static/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/app.js b/static/app.js index 6feb141..86a35d2 100755 --- a/static/app.js +++ b/static/app.js @@ -2496,7 +2496,7 @@ var specialChars = /[`!@#$%^&*()_+\-=\[\]{};':"\\|<>\/?~]/; } else if (!["ALU","BRENTOIL","LCO","COFFEE","XCU","CORN","COTTON","XAU","IRD","NI","XPD","XPT","XRH","RICE","RUTH","XAG","SOYBEAN", - "XDR","SUGAR","TIN","WHEAT","WTIOIL","ZNC","ETHANOL","CPO","NG","COCOA","ROBUSTA","LUMBER","RUBBER"].includes(x)) { + "XDR","SUGAR","TIN","WHEAT","WTIOIL","ZNC","ETHANOL","CPO","NG","COCOA","ROBUSTA","LUMBER","RUBBER","HOG","CATTLE"].includes(x)) { document.getElementById('demo8').style.display = "block"; document.getElementById("inputText20").value = ''; text = "Invalid commodity symbol"