Fix the exitURL redirection when a survey is completed and the site uses a gateway url.
This commit is contained in:
parent
787fe74ee1
commit
b8b2a38ef5
3 changed files with 8 additions and 4 deletions
|
|
@ -16,6 +16,7 @@
|
|||
- fixed #9535: Bad characters in dom element ids when generated from assetId
|
||||
- fixed #9542: Default WebGUI config contains invalid workflow activity
|
||||
- fixed #9623: preload.custom paths not included during upgrade
|
||||
- fixed #9638: Survey - Submit of survey creates new demo
|
||||
|
||||
7.6.10
|
||||
- fixed #9577: WebGUI::Form::Url::getValue returns blank rather than undef for blank fields
|
||||
|
|
|
|||
|
|
@ -997,9 +997,12 @@ sub surveyEnd {
|
|||
$url = "/";
|
||||
}
|
||||
}
|
||||
$url = $self->session->url->gateway($url);
|
||||
|
||||
# $self->session->http->setRedirect($url);
|
||||
return to_json( { "type", "forward", "url", $url } );
|
||||
#$self->session->http->setRedirect($url);
|
||||
#$self->session->http->setMimeType('application/json');
|
||||
my $json = to_json( { "type", "forward", "url", $url } );
|
||||
return $json;
|
||||
} ## end sub surveyEnd
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -493,8 +493,8 @@ our $I18N = {
|
|||
},
|
||||
|
||||
'Survey Exit URL help' => {
|
||||
message => q|When the user finishes the surevey, they will be sent to this URL. Leave blank if no special forwarding is required.|,
|
||||
lastUpdated => 0,
|
||||
message => q|When the user finishes the surevey, they will be sent to this URL. Leave blank if no special forwarding is required. The gateway setting from the config file will be automatically added to the URL for you.|,
|
||||
lastUpdated => 1233714385,
|
||||
},
|
||||
|
||||
'percentage label' => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue