(disabled)
| 1066 | } |
| 1067 | |
| 1068 | function optionalValue(formData, name) { |
| 1069 | const value = String(formData.get(name) || "").trim(); |
| 1070 | return value || undefined; |
| 1071 | } |
| 1072 | |
| 1073 | function setProtectedButtonsDisabled(disabled) { |
| 1074 | if (submitButton) { |
| 1075 | submitButton.disabled = disabled; |
| 1076 | } |
| 1077 | |
| 1078 | if (weeklyButton) { |
| 1079 | weeklyButton.disabled = disabled; |
no outgoing calls
no test coverage detected