mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 17:06:28 +02:00
Add verif before delete
This commit is contained in:
parent
47b26e3cd2
commit
c6c65c201f
7 changed files with 15 additions and 22 deletions
|
@ -66,6 +66,15 @@ function playReceptionSound ()
|
|||
jQuery(document).ready(function()
|
||||
{
|
||||
var verifReceivedInterval = setInterval(verifReceived, 10000);
|
||||
|
||||
jQuery('body').on('click', '.btn-confirm', function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
jQuery(this).addClass('btn-warning');
|
||||
jQuery(this).removeClass('btn-confirm');
|
||||
jQuery(this).html('<span class="fa fa-trash-o"></span> Valider la suppression');
|
||||
return false;
|
||||
});
|
||||
|
||||
jQuery('body').on('click', '.goto', function (e) {
|
||||
e.preventDefault();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue