added delete confirm

This commit is contained in:
Tóth Richárd
2019-08-26 13:37:54 +02:00
parent a2364812be
commit e18c039529
2 changed files with 5 additions and 1 deletions

View File

@@ -112,6 +112,10 @@ ob_start();
}
});
$('.addbutton.delete:not(.locker), .addbutton.delete-big:not(.locker)').on('click', function(e) {
return confirm("Biztos, hogy törölni szeretnéd?");
});
</script>
<?php
if ($page->is_page() && ($page->get_page() == 'tabor' && !$dev)) {