v0.5.133: type=submit на кнопке удаления

This commit is contained in:
“Naeel”
2026-06-15 17:17:43 +04:00
parent 5e4456cf66
commit aa54bb33d7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "ipwhitelist", "name": "ipwhitelist",
"version": "0.5.132", "version": "0.5.133",
"description": "IP WhiteList microservice for cloud provider", "description": "IP WhiteList microservice for cloud provider",
"main": "server.js", "main": "server.js",
"scripts": { "scripts": {
+1 -1
View File
@@ -235,7 +235,7 @@
<button class="btn btn-sm" title="Сохранить">✓</button> <button class="btn btn-sm" title="Сохранить">✓</button>
</form> </form>
<form method="POST" action="/v2/app/delete/<%= e.id %>" style="display:inline;"> <form method="POST" action="/v2/app/delete/<%= e.id %>" style="display:inline;">
<button class="btn btn-sm btn-danger" onclick="return confirm('Удалить?')" title="Удалить">🗑️</button> <button type="submit" class="btn btn-sm btn-danger" onclick="return confirm('Удалить?')" title="Удалить">🗑️</button>
</form> </form>
<% } %> <% } %>
</td> </td>