re-initialize ajax loaded tooltip
This commit is contained in:
parent
c6c0b451a7
commit
df9bcddd39
@ -1974,8 +1974,10 @@ $(document).ready(function() {
|
||||
}
|
||||
});
|
||||
|
||||
$(document).ready(initTooltips);
|
||||
|
||||
/* Displays tooltips */
|
||||
$(document).ready(function() {
|
||||
function initTooltips() {
|
||||
// Hide the footnotes from the footer (which are displayed for
|
||||
// JavaScript-disabled browsers) since the tooltip is sufficient
|
||||
$(".footnotes").hide();
|
||||
@ -2001,7 +2003,7 @@ $(document).ready(function() {
|
||||
style: { background: '#ffffcc' }
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function menuResize()
|
||||
{
|
||||
|
||||
@ -49,6 +49,7 @@ $(function() {
|
||||
switch(tab.attr('id')) {
|
||||
case 'statustabs_traffic':
|
||||
tab.html(data);
|
||||
initTooltips();
|
||||
$('#statustabs_traffic .statuslinks a').click(function() { return refreshHandler(this); });
|
||||
break;
|
||||
case 'statustabs_queries':
|
||||
|
||||
Loading…
Reference in New Issue
Block a user