Prechádzať zdrojové kódy

Fixes #2862: Follow return URL when connecting a cable

Jeremy Stretch 7 rokov pred
rodič
commit
5256077a3c
2 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 1 0
      CHANGELOG.md
  2. 1 1
      netbox/templates/dcim/cable_connect.html

+ 1 - 0
CHANGELOG.md

@@ -7,6 +7,7 @@ v2.5.6 (FUTURE)
 * [#2845](https://github.com/digitalocean/netbox/issues/2845) - Enable filtering of rack unit list by unit ID
 * [#2856](https://github.com/digitalocean/netbox/issues/2856) - Fix navigation links between LAG interfaces and their members on device view
 * [#2857](https://github.com/digitalocean/netbox/issues/2857) - Add `display_name` to DeviceType API serializer; fix DeviceType list for bulk device edit
+* [#2862](https://github.com/digitalocean/netbox/issues/2862) - Follow return URL when connecting a cable
 * [#2864](https://github.com/digitalocean/netbox/issues/2864) - Correct display of VRF name when no RD is assigned
 
 ---

+ 1 - 1
netbox/templates/dcim/cable_connect.html

@@ -4,7 +4,7 @@
 {% load form_helpers %}
 
 {% block content %}
-<form action="." method="post" class="form form-horizontal">
+<form method="post" class="form form-horizontal">
     {% csrf_token %}
     {% for field in form.hidden_fields %}
         {{ field }}