enhanced usability and fixed a style template inheritance problem
This commit is contained in:
parent
7d1225d702
commit
ae67e0b0ac
5 changed files with 38 additions and 17 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue