mirror of https://github.com/jumpserver/jumpserver
Merge pull request #2966 from jumpserver/perms_detail_delete_bug
[Bugfix] 修复资产授权详情页 删除弹出框的权限名显示不对pull/2968/head
commit
f70567f44b
|
@ -206,7 +206,7 @@ $(document).ready(function () {
|
|||
})
|
||||
.on('click', '.btn-delete-perm', function () {
|
||||
var $this = $(this);
|
||||
var name = "{{ asset_permission.name }}";
|
||||
var name = "{{ object.name }}";
|
||||
var uid = "{{ object.id }}";
|
||||
var the_url = '{% url "api-perms:asset-permission-detail" pk=DEFAULT_PK %}'.replace('{{ DEFAULT_PK }}', uid);
|
||||
var redirect_url = "{% url 'perms:asset-permission-list' %}";
|
||||
|
|
Loading…
Reference in New Issue