From 417b56d720154cd101991bafa363a76d94183f61 Mon Sep 17 00:00:00 2001
From: Elmar Ludwig <elmar.ludwig@uni-osnabrueck.de>
Date: Tue, 13 Sep 2022 14:59:00 +0000
Subject: [PATCH] restore a11yhelp_action(), fixes #1578

Closes #1578

Merge request studip/studip!1006
---
 app/controllers/wysiwyg.php | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/app/controllers/wysiwyg.php b/app/controllers/wysiwyg.php
index cb07e6fcd06..13a8aa1b64a 100644
--- a/app/controllers/wysiwyg.php
+++ b/app/controllers/wysiwyg.php
@@ -120,4 +120,13 @@ class WysiwygController extends AuthenticatedController
         }
         $this->render_json($response); // send HTTP response to client
     }
+
+    /**
+     * Display the WYSIWYG editor's help window.
+     */
+    public function a11yhelp_action()
+    {
+        // nothing to do
+        PageLayout::setTitle(_('Hilfe zur Bedienung des Editors'));
+    }
 }
-- 
GitLab