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
+7 -6
View File
@@ -59,7 +59,7 @@ $(document).ready(function () {
// Save Button
// -----------
$(".btnSave").on("click", function (e) {
$(".btnSave").on("click", async function (e) {
e.preventDefault();
@@ -71,7 +71,7 @@ $(document).ready(function () {
// Cancel Button.
// --------------
$(".btnCancel").on("click", function () {
$(".btnCancel").on("click", async function () {
$sessionStorage.action = $sessionStorage.editPopover;
@@ -85,7 +85,7 @@ $(document).ready(function () {
// Delete Button
// -------------
$(".btnDelete").on("click", function () {
$(".btnDelete").on("click", async function () {
$("#confirm-dialog").removeClass().addClass("modal confirm-delete-popover")
.find(".modal-title").html("Confirm Delete Popover").end()
@@ -94,7 +94,7 @@ $(document).ready(function () {
});
$("body").on("click", ".confirm-delete-popover .btnConfirmDialogConfirm", function () {
$("body").on("click", ".confirm-delete-popover .btnConfirmDialogConfirm", async function () {
$.post("./", {action: "Popovers.deletePopover", popover_serial: $sessionStorage.popover_serial})
@@ -114,7 +114,8 @@ $(document).ready(function () {
// Validate Inputs
// ---------------
$("#editPopover").submit(function (e) {
$("#editPopover").submit(async function (e) {
e.preventDefault();
var popover_serial = $("#popover_serial"),
popover_name = $("#popover_name"),
@@ -131,7 +132,7 @@ $(document).ready(function () {
return false;
}
if (formPost({action: "Popovers.popoverExists", popover_serial: popover_serial.val(), popover_name: popover_name.val()}) === true) {
if (await formPost({action: "Popovers.popoverExists", popover_serial: popover_serial.val(), popover_name: popover_name.val()}) === true) {
createInputError(popover_name, "Name already exists");
return false;
}