From 676d640e70d3bef09264bb418ab3a2abf58b9690 Mon Sep 17 00:00:00 2001 From: ibuler Date: Mon, 8 Jan 2018 14:58:07 +0800 Subject: [PATCH] =?UTF-8?q?[Bugfix]=20=E4=BF=AE=E5=A4=8D=E5=AF=BC=E5=87=BA?= =?UTF-8?q?csv=E5=92=8C=E6=9B=B4=E6=96=B0=E8=B5=84=E4=BA=A7=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E5=8F=98=E9=87=8F=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/assets/templates/assets/asset_list.html | 2 +- apps/assets/templates/assets/asset_update.html | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/assets/templates/assets/asset_list.html b/apps/assets/templates/assets/asset_list.html index 6bab2f5e3..bb229c174 100644 --- a/apps/assets/templates/assets/asset_list.html +++ b/apps/assets/templates/assets/asset_list.html @@ -109,7 +109,7 @@ function initTable() { $(document).ready(function(){ initTable(); }) -.on('click', '#btn_export', function () { +.on('click', '.btn_export', function () { var $data_table = $('#asset_list_table').DataTable(); var rows = $data_table.rows('.selected').data(); var assets = []; diff --git a/apps/assets/templates/assets/asset_update.html b/apps/assets/templates/assets/asset_update.html index fea3249e6..b0cbc484b 100644 --- a/apps/assets/templates/assets/asset_update.html +++ b/apps/assets/templates/assets/asset_update.html @@ -46,7 +46,6 @@

{% trans 'Other' %}

{% bootstrap_field form.status layout="horizontal" %} - {% bootstrap_field form.env layout="horizontal" %} {% bootstrap_field form.comment layout="horizontal" %} {% bootstrap_field form.is_active layout="horizontal" %}