Form: Provide an absolute url as redirect url for successful frame uploads
refs #8758
This commit is contained in:
parent
6c9819204d
commit
7c89887773
|
@ -967,7 +967,7 @@ class Form extends Zend_Form
|
|||
$this->getResponse()->redirectAndExit($this->getRedirectUrl());
|
||||
}
|
||||
|
||||
$this->getView()->layout()->redirectUrl = $this->getRedirectUrl();
|
||||
$this->getView()->layout()->redirectUrl = $this->getRedirectUrl()->getAbsoluteUrl();
|
||||
}
|
||||
} elseif ($this->getValidatePartial()) {
|
||||
// The form can't be processed but we may want to show validation errors though
|
||||
|
|
Loading…
Reference in New Issue