1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Merge pull request #135 from Ysurac/develop

sync
This commit is contained in:
suyuan 2021-05-11 13:09:09 +08:00 committed by GitHub
commit d950f77937
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
105 changed files with 13129 additions and 1067 deletions

View file

@ -1111,7 +1111,7 @@ function update_vps()
local update_vps = luci.http.formvalue("flash") or ""
if update_vps ~= "" then
local ut = require "luci.util"
local result = ut.ubus("openmptcprouter", "update_vps", {})
local result = ut.ubus("openmptcprouter", "updateVPS", {})
end
return
end

View file

@ -60,7 +60,7 @@
}
</script>
<% 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">
<h2 name="content"><%:Wizard%></h2>
<fieldset class="cbi-section" id="server">