From 77f9f5fe729248e81f28688ebc9135d240fb045f Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 9 Nov 2021 12:13:23 -0500 Subject: [PATCH] remove dynamic names from admin confirm dialogs (#1703) --- src/Admin/Views/Organizations/Edit.cshtml | 2 +- src/Admin/Views/Organizations/View.cshtml | 2 +- src/Admin/Views/Users/Edit.cshtml | 2 +- src/Admin/Views/Users/View.cshtml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Admin/Views/Organizations/Edit.cshtml b/src/Admin/Views/Organizations/Edit.cshtml index dc38843f2e..bc1c7ad571 100644 --- a/src/Admin/Views/Organizations/Edit.cshtml +++ b/src/Admin/Views/Organizations/Edit.cshtml @@ -305,7 +305,7 @@ Enterprise Trial
+ onsubmit="return confirm('Are you sure you want to delete this organization?')">
diff --git a/src/Admin/Views/Organizations/View.cshtml b/src/Admin/Views/Organizations/View.cshtml index 489cbb0671..b7d8e00a22 100644 --- a/src/Admin/Views/Organizations/View.cshtml +++ b/src/Admin/Views/Organizations/View.cshtml @@ -8,6 +8,6 @@

Information

@await Html.PartialAsync("_ViewInformation", Model)
+ onsubmit="return confirm('Are you sure you want to delete this organization?')">
diff --git a/src/Admin/Views/Users/Edit.cshtml b/src/Admin/Views/Users/Edit.cshtml index 8e44e76c81..c6ab2f4f43 100644 --- a/src/Admin/Views/Users/Edit.cshtml +++ b/src/Admin/Views/Users/Edit.cshtml @@ -157,7 +157,7 @@ Upgrade Premium
+ onsubmit="return confirm('Are you sure you want to delete this user?')">
diff --git a/src/Admin/Views/Users/View.cshtml b/src/Admin/Views/Users/View.cshtml index 3b8922b717..701322f5ff 100644 --- a/src/Admin/Views/Users/View.cshtml +++ b/src/Admin/Views/Users/View.cshtml @@ -8,6 +8,6 @@

Information

@await Html.PartialAsync("_ViewInformation", Model)
+ onsubmit="return confirm('Are you sure you want to delete this user?')">