more bug fixes

This commit is contained in:
JT Smith 2005-03-16 02:55:27 +00:00
parent ae2acfffd8
commit 5e356b2076
6 changed files with 172 additions and 172 deletions

View file

@ -133,7 +133,7 @@ sub definition {
properties=>{
templateId =>{
fieldType=>"template",
defaultValue=>undef,
defaultValue=>'PBtmpl0000000000000141',
},
acknowledgement=>{
fieldType=>"textarea",
@ -148,7 +148,7 @@ sub definition {
defaultValue=>'PBtmpl0000000000000104',
},
listTemplateId=>{
defaultValue=>undef,
defaultValue=>'PBtmpl0000000000000021',
fieldType=>"template"
},
mailData=>{
@ -192,10 +192,12 @@ sub duplicate {
sub getEditForm {
my $self = shift;
my $tabform = $self->SUPER::getEditForm;
$tabform->getTab("display")->template(
-value=>$self->getValue('templateId'),
-namespace=>"DataForm"
-name=>"templateId",
-value=>$self->getValue("templateId"),
-namespace=>"DataForm",
-afterEdit=>'func=edit',
-defaultValue=>"PBtmpl0000000000000141"
);
$tabform->getTab("display")->template(
-name=>"emailTemplateId",