mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-09 11:19:08 +00:00
[Update] 统一可连接性,添加sql debug
This commit is contained in:
@@ -500,8 +500,10 @@ jumpserver.initDataTable = function (options) {
|
||||
$('[data-toggle="popover"]').popover({
|
||||
html: true,
|
||||
placement: 'bottom',
|
||||
// trigger: 'hover',
|
||||
trigger: 'click',
|
||||
container: 'body'
|
||||
}).on('click', function (e) {
|
||||
$('[data-toggle="popover"]').not(this).popover('hide');
|
||||
});
|
||||
});
|
||||
$('.ipt_check_all').on('click', function() {
|
||||
@@ -670,6 +672,14 @@ jumpserver.initServerSideDataTable = function (options) {
|
||||
}).on('draw', function(){
|
||||
$('#op').html(options.op_html || '');
|
||||
$('#uc').html(options.uc_html || '');
|
||||
$('[data-toggle="popover"]').popover({
|
||||
html: true,
|
||||
placement: 'bottom',
|
||||
trigger: 'click',
|
||||
container: 'body'
|
||||
}).on('click', function (e) {
|
||||
$('[data-toggle="popover"]').not(this).popover('hide');
|
||||
});
|
||||
var table_data = [];
|
||||
$.each(table.rows().data(), function (id, row) {
|
||||
if (row.id) {
|
||||
|
Reference in New Issue
Block a user