added delete confirm

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

No files matched your search

+4
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)) {