mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Disable enter key submit on wizard page
This commit is contained in:
parent
93a74f9f9d
commit
0de06e413b
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<% if stderr and #stderr > 0 then %><pre class="error"><%=pcdata(stderr)%></pre><% end %>
|
<% if stderr and #stderr > 0 then %><pre class="error"><%=pcdata(stderr)%></pre><% end %>
|
||||||
<form class="inline" method="post" action="<%=url('admin/system/' .. menuentry:lower() .. '/wizard_add')%>" enctype="multipart/form-data">
|
<form class="inline" method="post" action="<%=url('admin/system/' .. menuentry:lower() .. '/wizard_add')%>" enctype="multipart/form-data" onkeydown="return event.key != 'Enter';">
|
||||||
<div class="cbi-map">
|
<div class="cbi-map">
|
||||||
<h2 name="content"><%:Wizard%></h2>
|
<h2 name="content"><%:Wizard%></h2>
|
||||||
<fieldset class="cbi-section" id="server">
|
<fieldset class="cbi-section" id="server">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue