}
});
+ var drawTooltips = function() {
+ // Update symbol description tooltips
+ $.each(symbolDescriptions, function (key, description) {
+ $('abbr[data-sym-key=' + key + ']').tooltip({
+ "placement": "bottom",
+ "html": true,
+ "title": description
+ });
+ });
+ }
+
if (checked_server === "All SERVERS") {
rspamd.queryNeighbours("history", function (req_data) {
function differentVersions() {
"filtering": FooTable.actionFilter
},
"on": {
- "ready.ft.table": function () {
- // Update symbol description tooltips
- $.each(symbolDescriptions, function (key, description) {
- $('abbr[data-sym-key=' + key + ']').tooltip({
- "placement": "bottom",
- "html": true,
- "title": description
- });
- });
- }
+ "ready.ft.table": drawTooltips,
+ "after.ft.sorting": drawTooltips,
+ "after.ft.paging": drawTooltips,
+ "after.ft.filtering": drawTooltips
}
});
} else {
"sorting": {
"enabled": true
},
- components: {
- filtering: FooTable.actionFilter
+ "components": {
+ "filtering": FooTable.actionFilter
+ },
+ "on": {
+ "ready.ft.table": drawTooltips,
+ "after.ft.sorting": drawTooltips,
+ "after.ft.paging": drawTooltips,
+ "after.ft.filtering": drawTooltips
}
});
}