mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Removing test code from TextFieldDriver
--HG-- branch : 1.x
This commit is contained in:
@@ -59,10 +59,6 @@ namespace Orchard.Core.Common.Drivers {
|
||||
|
||||
protected override DriverResult Editor(ContentPart part, TextField field, IUpdateModel updater, dynamic shapeHelper) {
|
||||
|
||||
if(field.Name == "Note") {
|
||||
throw new ArgumentException();
|
||||
}
|
||||
|
||||
var viewModel = new TextFieldDriverViewModel {
|
||||
Field = field,
|
||||
Text = field.Value,
|
||||
|
Reference in New Issue
Block a user