1 parent 01d5257 commit 7cc2e01Copy full SHA for 7cc2e01
1 file changed
hypha/static_src/javascript/determination-template.js
@@ -69,7 +69,7 @@
69
});
70
window.addEventListener("load", function (event) {
71
const proposal_form_field = document.querySelector("#id_proposal_form");
72
- if (!proposal_form_field.value) {
+ if (proposal_form_field && !proposal_form_field.value) {
73
proposal_form_field.disabled = true;
74
}
75
0 commit comments