From b90d3306c5b0fb639fa3706b49a320ae2277c5a9 Mon Sep 17 00:00:00 2001 From: ibuler Date: Tue, 17 Apr 2018 12:01:00 +0800 Subject: [PATCH] =?UTF-8?q?[Bugfix]=20=E5=8E=BB=E6=8E=89gateway=20name?= =?UTF-8?q?=E8=BF=9E=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/assets/templates/assets/domain_gateway_list.html | 5 ----- 1 file changed, 5 deletions(-) diff --git a/apps/assets/templates/assets/domain_gateway_list.html b/apps/assets/templates/assets/domain_gateway_list.html index 3dc82652f..581f6c08a 100644 --- a/apps/assets/templates/assets/domain_gateway_list.html +++ b/apps/assets/templates/assets/domain_gateway_list.html @@ -81,11 +81,6 @@ function initTable() { var options = { ele: $('#domain_list_table'), columnDefs: [ - {targets: 1, createdCell: function (td, cellData, rowData) { - var detail_btn = '' + cellData + ''; - $(td).html(detail_btn.replace('{{ DEFAULT_PK }}', rowData.id)); - }}, - {targets: 7, createdCell: function (td, cellData, rowData) { var update_btn = '{% trans "Update" %}'.replace('{{ DEFAULT_PK }}', cellData); var del_btn = '{% trans "Delete" %}'.replace('{{ DEFAULT_PK }}', cellData);