#17612: Fixing validation message in Warmup module

Work Items: 17612

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros
2011-05-09 17:27:30 -07:00
parent eddf71bcd1
commit 5bbd017475

View File

@@ -63,7 +63,10 @@ namespace Orchard.Warmup.Controllers {
}
}
Services.Notifier.Information(T("Warmup updated successfully."));
if (ModelState.IsValid) {
Services.Notifier.Information(T("Warmup updated successfully."));
}
return View(warmupPart);
}