@@ -62,8 +62,8 @@
@Html.Raw(string.Format(_localizer[WebKey.RejectionInfo2],
$"{sender?.Prename} {sender?.Name}".TrySanitize(_sanitizer),
- sender?.Email.TryEncode(_encoder),
- envelope?.Title.TryEncode(_encoder)))
+ sender?.Email.TrySanitize(_sanitizer),
+ envelope?.Title.TrySanitize(_sanitizer)))
diff --git a/EnvelopeGenerator.Web/WebKey.cs b/EnvelopeGenerator.Web/WebKey.cs
index 4b179d2f..02b24b6d 100644
--- a/EnvelopeGenerator.Web/WebKey.cs
+++ b/EnvelopeGenerator.Web/WebKey.cs
@@ -28,7 +28,7 @@
public static readonly string Reject = nameof(Reject);
public static readonly string and = nameof(and);
public static readonly string Hello = nameof(Hello);
- public static readonly string EnvelopeObjectionTitle = nameof(EnvelopeObjectionTitle);
+ public static readonly string RejectionInfo1 = nameof(RejectionInfo1);
public static readonly string RejectionInfo2 = nameof(RejectionInfo2);
}
}
\ No newline at end of file
diff --git a/EnvelopeGenerator.Web/wwwroot/js/event-binder.js b/EnvelopeGenerator.Web/wwwroot/js/event-binder.js
index 72ef8694..88ad44e3 100644
--- a/EnvelopeGenerator.Web/wwwroot/js/event-binder.js
+++ b/EnvelopeGenerator.Web/wwwroot/js/event-binder.js
@@ -28,7 +28,6 @@ $('.btn_reject').click(_ =>
if (!result.isConfirmed)
return;
const res = result.value;
- console.log(res)
if (res.ok) {
redirRejected()
}