Fix screen force-delete submission
Publish Docker Image / build-and-push-existing-registry (./build/Dockerfile, web, pulse-signage-web) (push) Successful in 1m12s
Publish Docker Image / build-and-push-existing-registry (./build/Dockerfile.player, player, pulse-signage-player) (push) Successful in 30s

This commit is contained in:
lzstealth committed 2026-10-15 02:17:45 +01:00
1 parent f0601f823d
commit 40f0892262
4 files changed
+10 -1

No files matched your search

+4
View File
@@ -22,6 +22,10 @@
return;
}
if (form.hasAttribute('data-native-submit')) {
return;
}
var actionPath = '';
try {
actionPath = new URL(form.action, window.location.href).pathname;
+1 -1
View File
@@ -43,7 +43,7 @@
</div>
</form>
{{#if screen.canForceDelete}}
<form id="screen-force-delete-form" method="post" action="{{forceDeleteUrl}}" data-confirm-message="Force delete this screen group and unlink its onboarding devices?">
<form id="screen-force-delete-form" method="post" action="{{forceDeleteUrl}}" data-confirm-message="Force delete this screen group and unlink its onboarding devices?" data-native-submit>
<input type="hidden" name="force_delete" value="1" />
</form>
{{/if}}