Commit f3a0fe93 authored by Nathan Lewis's avatar Nathan Lewis
Browse files

Fix help popup in multicolumntable pieform (Bug #1298129)



- the help icon should be a "i" in a blue circle, but instead is showing a "?"
  and the link does not work

Change-Id: Iab0565ea32712bb0f14ec9d7e80a5c1f608ced93
Signed-off-by: default avatarNathan Lewis <nathan.lewis@totaralms.com>
parent c5bb2486
......@@ -118,9 +118,8 @@ class FormRendererMultiColumnTable {/*{{{*/
$result .= $builtelement;
// Contextual help
if (!empty($rawelement['help'])) {
$result .= ' <span class="help"><a href="#" title="'
. Pieform::hsc($rawelement['help']) . '">?</a></span>';
if (isset($rawelement['helphtml'])) {
$result .= ' ' . $rawelement['helphtml'];
}
$result .= "</td>\n\t";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment