-Fixed a bug where the clicking apply button when func=add would return the edit screen of the parent asset rather
than that of the newly added asset.
This commit is contained in:
parent
c76d533c31
commit
d502f4b5de
2 changed files with 9 additions and 1 deletions
|
|
@ -2628,7 +2628,12 @@ sub www_editSave {
|
|||
|
||||
# Handle "saveAndReturn" button
|
||||
if ( $self->session->form->process( "saveAndReturn" ) ne "" ) {
|
||||
return $self->www_edit;
|
||||
if ($isNewAsset) {
|
||||
return $object->www_edit;
|
||||
}
|
||||
else {
|
||||
return $self->www_edit;
|
||||
}
|
||||
}
|
||||
|
||||
# Handle "proceed" form parameter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue