enhanced usability and fixed a style template inheritance problem

This commit is contained in:
JT Smith 2005-01-29 17:14:00 +00:00
parent 7d1225d702
commit ae67e0b0ac
5 changed files with 38 additions and 17 deletions

View file

@ -88,14 +88,15 @@ sub getEditForm {
-value=>$self->getValue('templateId'),
-namespace=>"Folder"
);
#if ($self->get("assetId") eq "new") {
# $tabform->getTab("properties")->whatNext(
# -options=>{
# gotoNewPage=>WebGUI::International::get(823),
# backToPage=>WebGUI::International::get(847)
# },
# );
# }
if ($self->get("assetId") eq "new") {
$tabform->getTab("properties")->whatNext(
-options=>{
view=>WebGUI::International::get(823),
""=>WebGUI::International::get(847)
},
-value=>"view"
);
}
return $tabform;
}

View file

@ -95,9 +95,10 @@ sub getEditForm {
if ($self->get("assetId") eq "new") {
$tabform->getTab("properties")->whatNext(
-options=>{
gotoNewPage=>WebGUI::International::get(823),
backToPage=>WebGUI::International::get(847)
view=>WebGUI::International::get(823),
""=>WebGUI::International::get(847)
},
-value=>"view"
);
}
return $tabform;