chiark / gitweb /
Regretfully remove my trickery with a hidden <option> element inside
authorSimon Tatham <anakin@pobox.com>
Fri, 5 Apr 2013 15:49:29 +0000 (15:49 +0000)
committerSimon Tatham <anakin@pobox.com>
Fri, 5 Apr 2013 15:49:29 +0000 (15:49 +0000)
commit36f35f5db81d95c3fc038f27ac791a2f4f748c10
treee15c262299b537d08308b3e39ac2c2e251acb310
parent2360b77812e184902e44c7f4ea2f6fc79729e370
Regretfully remove my trickery with a hidden <option> element inside
the game-type <select>, since IE turns out to ignore display:none on
options. Oh well.

Instead I now do a more transparent thing: when custom game params are
in use, there's a "Custom" option selected in the dropdown, and a
separate 'Re-customise' option which brings the config box back up.
When an ordinary preset is selected, the Custom option is missing, and
there's just a 'Customise'.

In the process I've tinkered a bit to arrange that the custom 'preset'
is always represented by a negative number rather than one past the
last real preset; that seems more consistent overall.

[originally from svn r9811]
emcc.c
emcclib.js
emccpre.js