o Allow return from photo edit view to gallery edit view (RFE 11571)

o Reject form submissions without image selected for upload in edit view of Photo asset
This commit is contained in:
kimd 2010-06-08 22:57:37 +02:00 committed by Doug Bell
parent cb82394575
commit fa04d01518
7 changed files with 150 additions and 33 deletions

View file

@ -2924,6 +2924,10 @@ sub www_editSave {
$session->asset($object->getParent);
return $session->asset->www_view;
}
elsif ($proceed eq "editParent") {
$session->asset($object->getParent);
return $session->asset->www_edit;
}
elsif ($proceed eq "goBackToPage" && $session->form->process('returnUrl')) {
$session->http->setRedirect($session->form->process("returnUrl"));
return undef;