Merge pull request #2968 from jumpserver/dev

Dev
pull/3007/head
BaiJiangJie 5 years ago committed by GitHub
commit 3d1d652cfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,3 +1,3 @@
# -*- 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' %}";

Loading…
Cancel
Save