mirror of https://github.com/jumpserver/jumpserver
[Update] 修复自定义平台列表在详情页删除失败的bug
parent
287236a447
commit
d969563e43
|
@ -83,7 +83,7 @@ $(document).ready(function () {
|
|||
var $this = $(this);
|
||||
var name = "{{ object.name}}";
|
||||
var uid = "{{ object.id }}";
|
||||
var the_url = '{% url "api-assets:asset-platform-detail" pk=DEFAULT_PK %}'.replace('{{ DEFAULT_PK }}', uid);
|
||||
var the_url = '{% url "api-assets:platform-detail" pk=DEFAULT_PK %}'.replace('{{ DEFAULT_PK }}', uid);
|
||||
var redirect_url = "{% url 'assets:platform-list' %}";
|
||||
objectDelete($this, name, the_url, redirect_url);
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue