Fix popovers in history table modal

This commit is contained in:
JonnyWong16 2018-02-18 12:15:11 -08:00
parent 2d56ac027b
commit 4ab9eb3bfa
2 changed files with 4 additions and 2 deletions

View file

@ -3146,7 +3146,7 @@ div.dataTables_info {
border-radius: 2px; border-radius: 2px;
} }
.history-thumbnail-popover { .history-thumbnail-popover {
z-index: 2; z-index: 2000;
padding: 0; padding: 0;
border: 0; border: 0;
} }

View file

@ -290,7 +290,9 @@ history_table_options = {
}, },
"preDrawCallback": function(settings) { "preDrawCallback": function(settings) {
var msg = "<i class='fa fa-refresh fa-spin'></i>&nbspFetching rows..."; var msg = "<i class='fa fa-refresh fa-spin'></i>&nbspFetching rows...";
showMsg(msg, false, false, 0) showMsg(msg, false, false, 0);
$('[data-toggle="tooltip"]').tooltip('destroy');
$('[data-toggle="popover"]').popover('destroy');
}, },
"rowCallback": function (row, rowData, rowIndex) { "rowCallback": function (row, rowData, rowIndex) {
if (rowData['group_count'] == 1) { if (rowData['group_count'] == 1) {