Skip to content
Snippets Groups Projects
Commit 4b82b403 authored by Kathrin Osswald's avatar Kathrin Osswald Committed by Alexander Bias
Browse files

Fixed a bug with modal help text setting occuring in (sub)plugins that use...

Fixed a bug with modal help text setting occuring in (sub)plugins that use only enabled / enabled_help for the help texts.
parent de353049
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ Changes
### Unreleased
* 2018-12-20 - Fixed a bug with modal help text setting occuring in (sub)plugins that use only enabled / enabled_help for the help texts.
* 2018-12-19 - Improved the feature showhintcourseguestaccess to not be shown in some edge cases.
* 2018-12-18 - Adding 'both' option for 'Switch to role…' menu fixes - Many thanks to Luca Bösch (lucaboesch) for his proposal and main work on this!
* 2018-12-17 - Setting to change the breakpoint for smaller screens.
......
......@@ -422,7 +422,7 @@ class core_renderer extends \theme_boost\output\core_renderer {
$context = $helpicon->export_for_template($this);
// MODIFICATION START.
// ID needed for modal dialog.
$context->linkid = $helpicon->identifier;
$context->linkid = $helpicon->component.'-'.$helpicon->identifier;
// Fill body variable needed for modal mustache with text value.
$context->body = $context->text;
if (get_config('theme_boost_campus', 'helptextmodal') == 'yes') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment