Unverified Commit 3d1d652c authored by BaiJiangJie's avatar BaiJiangJie Committed by GitHub

Merge pull request #2968 from jumpserver/dev

Dev
parents eb93e634 f70567f4
# -*- coding: utf-8 -*-
#
VERSION = '1.5.1'
VERSION = '1.5.2'
......@@ -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' %}";
......
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