simon-svn: puzzles: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Fri Apr 5 16:49:29 BST 2013


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       9811
Date:           2013-04-05 16:49:29 +0100 (Fri, 05 Apr 2013)

Log message (13 lines):
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.

Modified files:
U   puzzles/emcc.c
U   puzzles/emcclib.js
U   puzzles/emccpre.js

Links:
http://svn.tartarus.org/sgt/?rev=9811&view=rev
http://svn.tartarus.org/sgt/puzzles/emcc.c?rev=9811&r1=9810&r2=9811
http://svn.tartarus.org/sgt/puzzles/emcclib.js?rev=9811&r1=9810&r2=9811
http://svn.tartarus.org/sgt/puzzles/emccpre.js?rev=9811&r1=9810&r2=9811



More information about the tartarus-commits mailing list