ref: 52d4dae0a9a997b01d6410b42d1e1c503f039bc1
parent: bb14689b4a555b4b176192d2c3cd02a4c354a37f
author: Simon Tatham <anakin@pobox.com>
date: Sun Mar 31 07:50:46 EDT 2013
Make sure the right element of the game-type dropdown starts off selected. Previously we were leaving the first element on the list selected, which is _usually_ right, but not right for Slant. In the process of doing this, I've also reorganised to fix a crash which shows up with non-configurable games (admittedly currently only Nullgame :-) when we still try to call js_select_preset in spite of not having any preset options to select. [originally from svn r9794]