mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 02:48:38 -06:00
Fixes: 18593 - "Create & Add Another" broken for new IP addresses (#18602)
* update IPAddressEditView get_extra_addanother_params * Simplify get_extra_addanother_params
This commit is contained in:
parent
9c1f3f5f98
commit
7677c793ee
@ -868,6 +868,7 @@ class IPAddressEditView(generic.ObjectEditView):
|
||||
return {'interface': request.GET['interface']}
|
||||
elif 'vminterface' in request.GET:
|
||||
return {'vminterface': request.GET['vminterface']}
|
||||
return {}
|
||||
|
||||
|
||||
# TODO: Standardize or remove this view
|
||||
|
Loading…
Reference in New Issue
Block a user