diff --git a/poll/templates/poll/admin/index.html b/poll/templates/poll/admin/index.html
index 1f5234c041ec639a1cc1daee8dd90ecadd8df3f4..f2d730451a0fcb889ff257be3998aa1951a3883d 100644
--- a/poll/templates/poll/admin/index.html
+++ b/poll/templates/poll/admin/index.html
@@ -35,7 +35,9 @@
}
function del(){
- queryJson('delete', {"pid": evt['id']}, update_list);
+ if (confirm("Êtes vous sûr ?")) {
+ queryJson('delete', {"pid": evt['id']}, update_list);
+ }
}
return [
new PollList.Action('Details', details),