fix delete node bootstrap ui

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
si458 2025-01-05 22:16:09 +00:00
parent 0dd56d5708
commit ca6ec5ebc9

View File

@ -9493,7 +9493,7 @@
var x = format("Are you sure you want to delete node {0}?", EscapeHtml(currentNode.name)) + '<br /><br /><label><input id=p10check type=checkbox class="form-check-input me-2" onchange=p10validateDeleteNodeDialog() />' + "Confirm" + '</label>';
xxdialogButtons = 3; xxdialogTag = nodeid;
setModalContent('xxAddAgent', "Delete Node", x);
showModal('xxAddAgentModal', 'idx_dlgOkButton', p10showDeleteNodeDialogEx);
showModal('xxAddAgentModal', 'idx_dlgOkButton', () => p10showDeleteNodeDialogEx(0, nodeid));
p10validateDeleteNodeDialog();
return false;
}