Paraméter frissítésével nem jön elő a START alert

This commit is contained in:
Sperg Tamás 2026-02-26 18:16:35 +01:00
parent 8327aa99cf
commit b020675eba

View File

@ -1376,7 +1376,12 @@ if ($result = $conn->query($query)) {
} }
var BlockNextAlert = false;
function AlertStart() { function AlertStart() {
if (BlockNextAlert) {
BlockNextAlert = false;
return;
}
var btnid = ''; var btnid = '';
var headerText = ''; var headerText = '';
var CreateAlert = false; var CreateAlert = false;
@ -1487,6 +1492,7 @@ if ($result = $conn->query($query)) {
SendUpdateProductionParameter(CurrentProductionId, CurrentCategory, dataArray).then(result => { SendUpdateProductionParameter(CurrentProductionId, CurrentCategory, dataArray).then(result => {
if (result == "ok" || result == "reload - ok") { if (result == "ok" || result == "reload - ok") {
if (!silent) { if (!silent) {
BlockNextAlert = true;
openDetails(CurrentProductionId, CurrentCategory); openDetails(CurrentProductionId, CurrentCategory);
Loading(false); Loading(false);
if (result == "reload - ok" && !silent) { if (result == "reload - ok" && !silent) {