[Bugfix] 修复导出csv和更新资产环境变量冲突

pull/915/head
ibuler 2018-01-08 14:58:07 +08:00
parent c7d1ba1944
commit 676d640e70
2 changed files with 1 additions and 2 deletions

View File

@ -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 = [];

View File

@ -46,7 +46,6 @@
<div class="hr-line-dashed"></div>
<h3>{% trans 'Other' %}</h3>
{% 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" %}