MCPcopy Create free account
hub / github.com/Forward-Future/loopy / setProtectedButtonsDisabled

Function setProtectedButtonsDisabled

loop-library/site/script.js:1068–1076  ·  view source on GitHub ↗
(disabled)

Source from the content-addressed store, hash-verified

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

Callers 1

initializeFormProtectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected