diff --git a/jasset/views.py b/jasset/views.py index c04a82243..c10eaddfe 100644 --- a/jasset/views.py +++ b/jasset/views.py @@ -448,7 +448,7 @@ def idc_edit(request): i = IDC.objects.get(name='默认') Asset.objects.filter(id=host).update(idc=i) - return HttpResponseRedirect('/jasset/idc_detail/?id=%s' % idc_id) + return HttpResponseRedirect('/jasset/idc_list/' % idc_id) return render_to_response('jasset/idc_add.html', locals(), context_instance=RequestContext(request)) diff --git a/templates/jasset/group_list.html b/templates/jasset/group_list.html index f22c9242c..5a8b0a547 100644 --- a/templates/jasset/group_list.html +++ b/templates/jasset/group_list.html @@ -87,7 +87,7 @@ url: "/jasset/group_del/multi/", data: {"id_list": id_list, "len_list": j}, success: function (data) { - window.open("/jasset/jgroup_list/", "_self"); + window.open("/jasset/group_list/", "_self"); } }); }