Unverified Commit 8712a50e authored by Cameron Ball's avatar Cameron Ball
Browse files

MDL-56784 theme_boost: Fix escaped markup in filemanager_fileselect

The markup in the filemanager_fileselect template was being escaped,
causing a help icon not to display.

Additionally, the popover for the help icon was not display since
"loader.js" was not properly delegating the popover calls.
parent b4d6669d
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -40,7 +40,10 @@ define(['jquery', './tether'], function(jQuery, Tether) {
'theme_boost/tooltip',
'theme_boost/popover'],
function() {
jQuery('[data-toggle="popover"]').popover();
jQuery('body').popover({
selector: '[data-toggle="popover"]',
trigger: 'focus'
});
});
return {};
......
......@@ -7,7 +7,7 @@
<button class="fp-file-download btn btn-secondary">{{#str}}download{{/str}}</button>
<button class="fp-file-delete btn btn-secondary">{{#str}}delete{{/str}}</button>
<button class="fp-file-setmain btn btn-secondary">{{#str}}setmainfile, repository{{/str}}</button>
<span class="fp-file-setmain-help btn btn-secondary">{{helpicon}}</span>
<span class="fp-file-setmain-help">{{{helpicon}}}</span>
<button class="fp-file-zip btn btn-secondary">{{#str}}zip, editor{{/str}}</button>
<button class="fp-file-unzip btn btn-secondary">{{#str}}unzip{{/str}}</button>
</div>
......
Supports Markdown
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