Early work for saving work_logs.
This commit is contained in:
parent
01c6bb3d09
commit
85b0e576c7
3 changed files with 112 additions and 87 deletions
|
|
@ -1,5 +1,8 @@
|
|||
<button type="submit" class="btn btn-primary" id="submit">Save</button>
|
||||
<script>
|
||||
window.newDrafts = window.newDrafts || [];
|
||||
window.deletedIds = window.deletedIds || [];
|
||||
|
||||
function formToJson(form) {
|
||||
const fd = new FormData(form);
|
||||
const out = {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue