Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions app/assets/javascripts/single_page/dynamic_table.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,13 @@ const handleSelect = (e) => {
},
draw () {
ObjectsInput.init();

const tooltips = $j('[data-toggle="tooltip"]')
tooltips.tooltip('destroy');
tooltips.tooltip({
container: 'body',
placement: 'top'
});
},
},
ajax: options.ajax
Expand Down Expand Up @@ -294,11 +301,8 @@ const handleSelect = (e) => {
}
$j(x)
.attr("title", columns[i].description)
.attr("data-toggle", "tooltip")
.attr("data-placement", "top")
.attr("data-container", "body");
.attr("data-toggle", "tooltip");
});
$j('[data-toggle="tooltip"]').tooltip();
highlightTitleCol(this.table);
},
pasteFromClipboard: function () {
Expand Down