Chat's updates for security, db and workflow
Security and workflow regressions / regression (push) Has been cancelled

This commit is contained in:
2026-10-20 06:45:30 -04:00
parent 02223083f6
commit 1e63076123
116 changed files with 3252 additions and 2932 deletions
+5 -4
View File
@@ -12,7 +12,7 @@ $(document).ready(function () {
// Save Button
// -----------
$(".btnSave").on("click", function (e) {
$(".btnSave").on("click", async function (e) {
e.preventDefault();
@@ -24,7 +24,7 @@ $(document).ready(function () {
// Cancel Button.
// --------------
$(".btnCancel").on("click", function () {
$(".btnCancel").on("click", async function () {
$sessionStorage.action = $sessionStorage.addReport || "";
@@ -38,7 +38,8 @@ $(document).ready(function () {
// Validate Inputs
// ---------------
$("#addReport").submit(function (e) {
$("#addReport").submit(async function (e) {
e.preventDefault();
var report_name = $("#report_name"),
report_class = $("#report_class"),
@@ -59,7 +60,7 @@ $(document).ready(function () {
return false;
}
if (formPost({action: "Reports.reportExists", report_serial: 0, report_class: report_class.val()}) === true) {
if (await formPost({action: "Reports.reportExists", report_serial: 0, report_class: report_class.val()}) === true) {
createInputError(report_class, "Class already exists");
return false;
}