diff --git a/src/FunnelWeb.Web/Areas/Admin/Views/Admin/Comments.cshtml b/src/FunnelWeb.Web/Areas/Admin/Views/Admin/Comments.cshtml
index cdb98aa2..cb56c1ae 100644
--- a/src/FunnelWeb.Web/Areas/Admin/Views/Admin/Comments.cshtml
+++ b/src/FunnelWeb.Web/Areas/Admin/Views/Admin/Comments.cshtml
@@ -36,7 +36,8 @@
Email: @comment.AuthorEmail
- @Html.ActionLink("Delete", "DeleteComment", "Admin", new { Area = "Admin", id = comment.Id }, null)
+ @Html.ActionLink("Delete", "DeleteComment", "Admin", new { Area = "Admin", id = comment.Id },
+ new { onclick = "return confirm('Delete comment?');"})
@Html.ActionLink(comment.IsSpam ? "Unspam" : "Spam", "ToggleSpam", "Admin", new { Area = "Admin", id = comment.Id }, null)
|
diff --git a/src/FunnelWeb.Web/Areas/Admin/Views/Admin/PageList.cshtml b/src/FunnelWeb.Web/Areas/Admin/Views/Admin/PageList.cshtml
index bc5673c7..76c6d94e 100644
--- a/src/FunnelWeb.Web/Areas/Admin/Views/Admin/PageList.cshtml
+++ b/src/FunnelWeb.Web/Areas/Admin/Views/Admin/PageList.cshtml
@@ -50,7 +50,7 @@
@using(Html.BeginForm("DeletePage", "WikiAdmin", new { Area = "Admin", id = entry.Id }, FormMethod.Post, null))
{
-
+
}
|
diff --git a/src/FunnelWeb.Web/Areas/Admin/Views/Upload/Index.cshtml b/src/FunnelWeb.Web/Areas/Admin/Views/Upload/Index.cshtml
index b196de1f..e3344c64 100644
--- a/src/FunnelWeb.Web/Areas/Admin/Views/Upload/Index.cshtml
+++ b/src/FunnelWeb.Web/Areas/Admin/Views/Upload/Index.cshtml
@@ -47,7 +47,8 @@
@item.FileSize |
@item.Modified |
- @Html.ActionLink("Delete", "Delete", new { Area = "Admin", path = Model.PathString, filePath = item.Path, })
+ @Html.ActionLink("Delete", "Delete", new { Area = "Admin", path = Model.PathString, filePath = item.Path, },
+ new { onclick = "return confirm('Delete " + @item.Name + "?');"})
|
}