You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
479 B
JavaScript
25 lines
479 B
JavaScript
10 years ago
|
//-- Activate anything Hesk UI needs, such as tooltips.
|
||
|
var loadJquery = function()
|
||
|
{
|
||
|
//-- Activate tooltips
|
||
|
$('[data-toggle="tooltip"]').tooltip();
|
||
10 years ago
|
|
||
|
//-- Active popovers
|
||
|
$('[data-toggle="popover"]').popover({
|
||
|
trigger: 'hover'
|
||
|
})
|
||
10 years ago
|
};
|
||
|
|
||
10 years ago
|
function toggleRow(id) {
|
||
|
if ($('#' + id).hasClass('danger'))
|
||
|
{
|
||
|
$('#' + id).removeClass('danger');
|
||
|
} else
|
||
|
{
|
||
|
$('#' + id).addClass('danger');
|
||
|
}
|
||
|
}
|
||
|
|
||
10 years ago
|
|
||
|
jQuery(document).ready(loadJquery);
|