FreeAndFair / OpenRLA

Free & Fair's open source RLA support software.
Other
4 stars 3 forks source link

Disable save button in audit ballot view unless marks selected for all contests #18

Open ranweiler opened 7 years ago

ranweiler commented 7 years ago

Right now, when recording the marks for a ballot, the "Save" button is always enabled, even if no candidate (including "invalid vote") has been selected for some contest. Attempting to click "Save" results in a client side error, and manifests to the user as a no-op. This is confusing: the window is not closed, but no error is signaled either.

Instead, disable this button unless some item has been selected for every contest under audit.

Do after: #17