Skip to content
Snippets Groups Projects
Commit cddce51e authored by Viktoria Wiebe's avatar Viktoria Wiebe Committed by David Siegfried
Browse files

fix for BIESt #1011

Merge request studip/studip!745
parent 7fa79f57
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,7 @@ class QuestionnaireController extends AuthenticatedController
class_exists('Vote');
class_exists('Test');
class_exists('Freetext');
PageLayout::setHelpKeyword('Basis/Votings');
}
public function overview_action()
......
......@@ -125,6 +125,9 @@ abstract class StudipController extends Trails_Controller
if (Request::isXhr() && !isset($this->response->headers['X-Title']) && PageLayout::hasTitle()) {
$this->response->add_header('X-Title', rawurlencode(PageLayout::getTitle()));
}
if (Request::isXhr() && !isset($this->response->headers['X-WikiLink']) && PageLayout::getHelpKeyword()) {
$this->response->add_header('X-WikiLink', format_help_url(PageLayout::getHelpKeyword()));
}
if ($this->with_session) {
page_close();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment