Commit 1902ffbe authored by Rebecca Blundell's avatar Rebecca Blundell Committed by Robert Lyon

Bug 1826076: Put mouseleave event back on Smartevidence standard

Fixes a regression which stopped a standard's popover text
displaying on hover.

Changed the text of the standard to be shortname in the table

behatnotneeded

Change-Id: Ie9dae073777737763bb7300b26499f0f53ea6b94
(cherry picked from commit 0d95fc9c)
parent d0f94f96
......@@ -331,15 +331,11 @@ jQuery(function($) {
carousel_matrix();
// show / hide tooltips for standard elements
$('tr.standard div')
.on('mouseenter',
function() {
$('tr.standard div').on('mouseenter', function() {
$(this).find('.popover').removeClass('d-none');
},
function() {
}).on('mouseleave', function() {
$(this).find('.popover').addClass('d-none');
}
);
});
// Make each standard (row heading description) show when
// clicking the name or pressing enter key
......
......@@ -70,7 +70,7 @@
<div class="shortname-container">
<span class="sr-only">{str tag="standardbegin" section="module.framework"}</span>
<span class="icon icon-chevron-down collapse-indicator right float-right"></span>
<h3>{$standard->name}</h3>
<h3>{$standard->shortname}</h3>
<span class="sr-only status">{if $standard->settingstate == 'closed'}{str tag="collapsedsection" section="module.framework"}{/if}</span>
<a href="#">
<span class="sr-only action">
......
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