~vpzom/bracketmonster

c0922b4af0e9939feff2d6bddc23298c2a9e213d — Colin Reeder a month ago df9d1a5 master
Move hidden inputs so they don't break focus call
1 files changed, 2 insertions(+), 2 deletions(-)

M rosebush/src/client/pages/bracket.tsx
M rosebush/src/client/pages/bracket.tsx => rosebush/src/client/pages/bracket.tsx +2 -2
@@ 349,8 349,6 @@ export class MatchEditDialog extends Component<MatchEditProps, MatchEditState> {
		return <Modal title={<Text id="editMatch" />} ref={this.modal}>
			<form onSubmit={this.submit.bind(this)} method="POST" action="/formSubmit/matchEdit">
				<div class="modal-body">
					<input type="hidden" name="bracket" value={props.bracket.id} />
					<input type="hidden" name="match" value={props.match.id} />
					<RadioGroup name="winner" selectedValue={String(state.winner)} onChange={this.onChangeWinner.bind(this)}>
						<table>
							<tr>


@@ 381,6 379,8 @@ export class MatchEditDialog extends Component<MatchEditProps, MatchEditState> {
							</tr>
						</table>
					</RadioGroup>
					<input type="hidden" name="bracket" value={props.bracket.id} />
					<input type="hidden" name="match" value={props.match.id} />
				</div>
				<div class="modal-footer modal-footer-buttons">
					<CancelButton />