|
|
@ -17,6 +17,7 @@ async function dialog2(msg, type, buttons){
|
|
|
|
content = container.replace(/{content}/g, msg);
|
|
|
|
content = container.replace(/{content}/g, msg);
|
|
|
|
var backdropID = dlgId + "-backdrop";
|
|
|
|
var backdropID = dlgId + "-backdrop";
|
|
|
|
var tmpl = template.replace(/{id}/g, dlgId).replace(/{title}/g, "").replace(/{size}/, "").replace("","");
|
|
|
|
var tmpl = template.replace(/{id}/g, dlgId).replace(/{title}/g, "").replace(/{size}/, "").replace("","");
|
|
|
|
|
|
|
|
tmpl = tmpl.replace("modal-dialog", "modal-dialog-centered modal-dialog");
|
|
|
|
tmpl = tmpl.replace("data-bs-backdrop=\"static\"", "data-bs-backdrop=\"static\" data-bs-keyboard=\"false\"");
|
|
|
|
tmpl = tmpl.replace("data-bs-backdrop=\"static\"", "data-bs-backdrop=\"static\" data-bs-keyboard=\"false\"");
|
|
|
|
tmpl = tmpl.replace("text-end hidden","text-end");
|
|
|
|
tmpl = tmpl.replace("text-end hidden","text-end");
|
|
|
|
tmpl = tmpl.replace("btn-primary","btn-primary btn-ok");
|
|
|
|
tmpl = tmpl.replace("btn-primary","btn-primary btn-ok");
|
|
|
|