Commit 18e590ef authored by BaiJiangJie's avatar BaiJiangJie Committed by 老广

[Bugfix] 修复创建授权规则,选择资产导致其他输入框清空的bug - select2 (#2141)

parent 9d1f5d31
......@@ -35,7 +35,7 @@ $(document).ready(function () {
})
.on('click', '#btn_asset_modal_confirm', function () {
var assets = asset_table2.selected;
$('.select2').val(assets).trigger('change');
$('#id_assets').val(assets).trigger('change');
$("#asset_list_modal").modal('hide');
})
</script>
......
......@@ -113,7 +113,7 @@ $(document).ready(function () {
.on('click', '#btn_asset_modal_confirm', function () {
var assets = asset_table2.selected;
$('.select2').val(assets).trigger('change');
$('#id_assets').val(assets).trigger('change');
$("#asset_list_modal").modal('hide');
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment