Add run time to queue
This commit is contained in:
@@ -33,6 +33,10 @@ namespace LeafWeb.WebCms.Controllers
|
||||
if (!files.Any())
|
||||
ModelState.AddModelError("Files", "Must select at least one file");
|
||||
|
||||
// TODO: this keeps randomly not being mapable because string->bool binding fails. WHY
|
||||
if (ModelState.ContainsKey("TermsOfService"))
|
||||
ModelState["TermsOfService"].Errors.Clear();
|
||||
|
||||
if (ModelState.IsValid) // HttpParamMatch indicates it's backing out from Confirm
|
||||
{
|
||||
// convert viewModel into Model
|
||||
|
||||
Reference in New Issue
Block a user