[Update] 修复小细节 (#2111)

* [Update] 命令/录像存储,禁用default删除按钮

* [Update] 修复 _asset_list_modal 取消资产全选时不能映射到资产选择框的bug
This commit is contained in:
BaiJiangJie
2018-11-29 16:01:03 +08:00
committed by 老广
parent 0b0fdbfc82
commit 8f479e364b
6 changed files with 18 additions and 18 deletions

View File

@@ -535,7 +535,7 @@ jumpserver.initServerSideDataTable = function (options) {
if (type === 'row') {
var rows = table.rows(indexes).data();
$.each(rows, function (id, row) {
if (row.id){
if (row.id && $.inArray(row.id, table.selected) === -1){
table.selected.push(row.id)
}
})