MastodonStartpage/web/admin/js/alerta.js
2020-01-13 17:16:33 +01:00

4 lines
260 B
JavaScript

function alerta(msg) {
document.getElementById('popupcont').innerHTML='<h2>Attenzione</h2>'+msg+'<input type="button" value="Ok" onClick="document.getElementById(\'popup\').style.display=\'none\'">';
document.getElementById('popup').style.display='table';
}