Do ask for confirmation

This commit is contained in:
Latif Khalifa
2013-10-14 13:58:05 +02:00
parent 54f3b446e6
commit 4212e2e8a9

View File

@@ -71,7 +71,7 @@ if (!$ajax) Layout::header();
icons: { primary: "ui-icon-close" },
})
.on("click", function(){
if (true || confirm("Delete comment?")) {
if (confirm("Delete comment?")) {
data = {
ajax: 1,