[Bugfix] 修复 API Key table 加载时报错(在日志审计模块中)

pull/3258/head
BaiJiangJie 2019-09-23 20:05:01 +08:00
parent 0ed08c2f4c
commit 7dc8b128d6
4 changed files with 4 additions and 4 deletions

View File

@ -112,7 +112,7 @@
<script src="{% static 'js/plugins/datepicker/bootstrap-datepicker.js' %}"></script>
<script>
$(document).ready(function() {
$('table').DataTable({
$('#editable').DataTable({
"searching": false,
"paging": false,
"bInfo" : false,

View File

@ -105,7 +105,7 @@
<script src="{% static 'js/plugins/datepicker/bootstrap-datepicker.js' %}"></script>
<script>
$(document).ready(function() {
jumpserver.initStaticTable('table');
jumpserver.initStaticTable('#login_log_table');
$('#date .input-daterange').datepicker({
format: "yyyy-mm-dd",
todayBtn: "linked",

View File

@ -100,7 +100,7 @@
<script src="{% static 'js/plugins/datepicker/bootstrap-datepicker.js' %}"></script>
<script>
$(document).ready(function() {
$('table').DataTable({
$('#editable').DataTable({
"searching": false,
"paging": false,
"bInfo" : false,

View File

@ -77,7 +77,7 @@
<script src="{% static 'js/plugins/datepicker/bootstrap-datepicker.js' %}"></script>
<script>
$(document).ready(function() {
$('table').DataTable({
$('#editable').DataTable({
"searching": false,
"paging": false,
"bInfo" : false,