diff --git a/lib/WebGUI/Asset/Shortcut.pm b/lib/WebGUI/Asset/Shortcut.pm index c40d7dbff..9f52e8dcf 100644 --- a/lib/WebGUI/Asset/Shortcut.pm +++ b/lib/WebGUI/Asset/Shortcut.pm @@ -765,8 +765,9 @@ sub www_editOverride { } $params{value} = $overrides{overrides}{$fieldName}{origValue}; $params{name} = $fieldName; - $params{label} = $params{label} || "Edit Field Using the Generated Form Type"; -# use Data::Dumper;WebGUI::ErrorHandler::warn('
'.Dumper(\%params).'
'); + $params{label} = $params{label} || "Edit Field Directly"; + $params{hoverhelp} = $params{hoverhelp} || "Use this field to edit the override using the native form handler for this field type."; + if ($fieldName eq 'templateId') {$params{namespace} = $params{namespace} || WebGUI::Asset->newByDynamicClass($overrides{overrides}{templateId}{origValue})->get("namespace");} $f->dynamicField(%params); $f->textarea( -name=>"newOverrideValueText",