mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
#18242 Fix form validation (and small typo)
--HG-- branch : 1.x extra : transplant_source : %D3I/%27Z%3C%E6%E3u%C8W%8C%406T%D0%12%E4%CE%7B
This commit is contained in:
@@ -48,11 +48,11 @@ namespace Orchard.Email.Rules {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface IFormHandler : IEventHandler {
|
public interface IFormEventHandler : IEventHandler {
|
||||||
void Validating(dynamic context);
|
void Validating(dynamic context);
|
||||||
}
|
}
|
||||||
|
|
||||||
public class MailFormsValitator : IFormHandler {
|
public class MailFormsValidator : IFormEventHandler {
|
||||||
public Localizer T { get; set; }
|
public Localizer T { get; set; }
|
||||||
|
|
||||||
public void Validating(dynamic context) {
|
public void Validating(dynamic context) {
|
||||||
|
|||||||
Reference in New Issue
Block a user