From 993d1c80675e9116b4e67da96dbcaea3524eafbc Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 7 May 2008 20:14:14 +0000 Subject: [PATCH] add more help about shortdesc length, and use the correct form option to set the length to 30 chars --- lib/WebGUI/Asset/Sku/Product.pm | 2 +- lib/WebGUI/i18n/English/Asset_Product.pm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/WebGUI/Asset/Sku/Product.pm b/lib/WebGUI/Asset/Sku/Product.pm index eab373690..0d1543e6b 100644 --- a/lib/WebGUI/Asset/Sku/Product.pm +++ b/lib/WebGUI/Asset/Sku/Product.pm @@ -990,7 +990,7 @@ sub www_editVariant { ); $f->text( -name => 'shortdesc', - -size => 30, + -maxlength => 30, -label => $i18n->get('shortdesc'), -hoverHelp => $i18n->get('shortdesc description'), -value => $data->{shortdesc}, diff --git a/lib/WebGUI/i18n/English/Asset_Product.pm b/lib/WebGUI/i18n/English/Asset_Product.pm index 822112ee4..33c205366 100644 --- a/lib/WebGUI/i18n/English/Asset_Product.pm +++ b/lib/WebGUI/i18n/English/Asset_Product.pm @@ -656,8 +656,8 @@ be useful, others may not.|, }, 'shortdesc description' => { - message => q|The will be displayed to the user so they can purchase this variant of your product.|, - lastUpdated => 1209494298, + message => q|The will be displayed to the user so they can purchase this variant of your product. It will be limited to 30 characters in length|, + lastUpdated => 1210191460, }, 'add variant' => {