Commit a67187d1 authored by Leonidas Poulopoulos's avatar Leonidas Poulopoulos

Handled issue where the port form was submitted on Enter keyup

parent 6663a783
<script type="text/javascript">
return false;
<form id="add_port_form" method="POST">
{% csrf_token %}
<tr><th>Port</th><td>{{ form.port }}<span class="error" id='rl_error'>{{ form.port.errors|join:", " }}</span></td></tr>
\ No newline at end of file
......@@ -65,7 +65,6 @@
autoOpen: false,
buttons: {
'Add': function() {
url:"{% url add-port %}",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment