1
0
Fork 0
MastodonStartpage/web/admin/js/confirma.js

5 lines
428 B
JavaScript
Raw Normal View History

2020-01-08 14:52:20 +01:00
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';
}