new shedule block work

This commit is contained in:
Sundog Jones 2024-10-22 10:26:55 -04:00
parent 4d5da2dfac
commit 0dc1c08b36
1 changed files with 1 additions and 0 deletions

View File

@ -878,6 +878,7 @@
const schedule_grid_click_handler = (e) => { const schedule_grid_click_handler = (e) => {
e.preventDefault(); e.preventDefault();
document.getElementById("new_block_dialog_form").reset();
const new_block_dialog = document.getElementById("new_block_dialog"); const new_block_dialog = document.getElementById("new_block_dialog");
const new_block_header = document.getElementById("new_block_dialog_header"); const new_block_header = document.getElementById("new_block_dialog_header");
const block_start_time = e.target.parentNode.firstElementChild.innerHTML; const block_start_time = e.target.parentNode.firstElementChild.innerHTML;