open-cogsci / OpenSesame

Graphical experiment builder for the social sciences
http://osdoc.cogsci.nl/
GNU General Public License v3.0
236 stars 112 forks source link

Numpad keys as allowed responses raise exceptions #693

Closed MichlF closed 4 years ago

MichlF commented 4 years ago

Posted this already in the forum but realized it is probably better to post it here.

Not sure whether this is already a known issue but when setting numpad / keypad keys (e.g. KP_1 or NUM_1) as allowed responses in a response item will raise an exception and break the experiment in the browser but not in OpenSesame. Compatibility check does not recognize this error.

Exception:

Application Errror

Uncaught TypeError: Cannot read property '0' of undefined

See the console for further details

smathot commented 4 years ago

Thanks for reporting this. We already have a PR for this issue (smathot/osweb#10), so I'm closing it here :-)