- Added 'Register ...' functionality to overviews. ==> No more separate menu items...

This commit is contained in:
Josako
2025-03-27 09:13:37 +01:00
parent 4ea16521e2
commit 6c8c33d296
22 changed files with 141 additions and 142 deletions

View File

@@ -145,8 +145,17 @@ document.addEventListener('DOMContentLoaded', function() {
});
});
</script>
<script>
function validateTableSelection(formId) {
const form = document.getElementById(formId);
const selectedRow = form.querySelector('input[name="selected_row"]:checked');
if (!selectedRow) {
alert('Please select a row first');
return false;
}
return true;
}
</script>
<style>
.json-editor-container {
height: 400px;