1
0
Fork 0
MastodonStartpage/web/admin/js/confirma.js
pezcurrel 93692a43ed ...
2020-01-08 14:52:20 +01:00

4 lines
428 B
JavaScript

function confirma(msg,act) {
document.getElementById('popupcont').innerHTML='<h3>Attenzione</h3>'+msg+'<input type="button" class="pupbut" value="No" onClick="document.getElementById(\'popup\').style.display=\'none\'"><input type="button" class="pupbut" style="margin-top:3pt;" value="Si" onClick="'+act+';document.getElementById(\'popup\').style.display=\'none\'">';
document.getElementById('popup').style.display='table';
}