From f940752c4fb9a2b5daeb5ca9b9bc64a365762c19 Mon Sep 17 00:00:00 2001 From: Yung Han Khoe Date: Tue, 7 Oct 2008 07:57:45 +0000 Subject: [PATCH] Updated Thingy's edit instructions and search description fields to HTMLAreas --- docs/changelog/7.x.x.txt | 2 ++ lib/WebGUI/Asset/Wobject/Thingy.pm | 10 +++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 421af7aeb..cc270b0c6 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -22,6 +22,8 @@ Group) - fixed: Cross site scripting issue on operation pages - fixed: Search asset shows blank page after searching + - rfe: Updated Thingy's edit instructions and search description fields to + HTMLAreas (SDH Consulting Group) 7.6.0 - added: users may now customize the post received page for the CS diff --git a/lib/WebGUI/Asset/Wobject/Thingy.pm b/lib/WebGUI/Asset/Wobject/Thingy.pm index b362f5c88..7900911af 100644 --- a/lib/WebGUI/Asset/Wobject/Thingy.pm +++ b/lib/WebGUI/Asset/Wobject/Thingy.pm @@ -630,7 +630,7 @@ sub getEditFieldForm { value=>$defaultValue, subtext=>'
'.$i18n->get('default value subtext'), width=>200, - height=>60, + height=>40, resizable=>0, }); $f->raw($self->getHtmlWithModuleWrapper($dialogPrefix."_defaultValue_module",$defaultValueForm, @@ -1644,12 +1644,14 @@ sub www_editThing { -value => $properties{editScreenTitle}, -maxlength => 64, ); - $tab->textarea( + $tab->HTMLArea( -name => 'editInstructions', -label => $i18n->get('edit instructions label'), -hoverHelp => $i18n->get('edit instructions description'), -value => $properties{editInstructions}, -maxlength => 64, + -width => 300, + -height => 200, ); $tab->group( -name=> "groupIdAdd", @@ -1765,12 +1767,14 @@ sub www_editThing { -maxlength => 64, ); - $tab->textarea( + $tab->HTMLArea( -name => 'searchDescription', -label => $i18n->get('search description label'), -hoverHelp => $i18n->get('search description description'), -value => $properties{searchDescription}, -maxlength => 64, + -width => 300, + -height => 200, ); $tab->group(