mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 01:41:22 -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
015ef25ca0
commit
154b3a7abb
@ -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