Bug #1479
closed
radio button broken in refinement prep
Added by Arne Moeller about 13 years ago.
Updated almost 9 years ago.
Affected Version:
Appion/Leginon 2.1.0
Description
More than one model can be selected for single model refinement - it is not possible to deselect a model
- Status changed from New to In Code Review
- Assignee changed from Amber Herold to Anchi Cheng
Arne can test.
The same page handles both single and multi model selection, we want to use radio buttons in the single model case to avoid doing error checking on submit to ensure only one model was selected.
We use check boxes for the multi model case.
when creating the html control, the name of the control is "model_" for single model and "model_" + model id number for multimodel. This simplifies the next web page because it can handle both cases in the same way.
Tried other ways of handling this, this seemed the most simple to me, but there is likely a better way because this is still somewhat messy.
- Status changed from In Code Review to In Test
- Assignee changed from Anchi Cheng to Amber Herold
- Assignee changed from Amber Herold to Arne Moeller
- Status changed from In Test to Closed
- Target version set to Appion/Leginon 3.1.0
Also available in: Atom
PDF