From 4b730ac13dea99c70aab6aa64fce431b125e83c5 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Fri, 11 Jun 2010 11:49:37 -0700 Subject: [PATCH] Use the right fieldtype for JSON fields in the db. --- lib/WebGUI/Role/Asset/Comments.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Role/Asset/Comments.pm b/lib/WebGUI/Role/Asset/Comments.pm index 43b2a81a8..ca54fd16f 100644 --- a/lib/WebGUI/Role/Asset/Comments.pm +++ b/lib/WebGUI/Role/Asset/Comments.pm @@ -20,7 +20,7 @@ use WebGUI::Types; define tableName => 'assetAspectComments'; property comments => ( noFormPost => 1, - fieldType => "hidden", + fieldType => "textarea", default => sub { [] }, traits => ['Array', 'WebGUI::Definition::Meta::Property::Serialize',], isa => 'WebGUI::Type::JSONArray',