1
0
mirror of https://github.com/psychopy/psychojs.git synced 2025-05-10 18:50:54 +00:00
Commit Graph

14 Commits

Author SHA1 Message Date
Sijia Zhao
0f9eeb636e GUI._onKeyChange now properly handles dropdown boxes
Now use a Map to keep track of individual elements to prevent duplication.
Previously would increment continuously just by switching dropdown options. So users could bypass the requirement to complete starred(*) fields by toggling a dropdown a few times, or by focussing and unfocussing input elements, causing nbSetRequiredKeys++ to increment without limit.
2020-05-19 19:07:48 +01:00
Sijia Zhao
dd23484cf5 Remove need to unfocus/deselect input elements in DlgFromDict before being able to click the "Ok" button
GlobalEventHandlers.onchange only fires when focus is lost. However .oninput fires whenever contents are modified. Original requires "double click" behaviour: first click to deselect the input element, second click to actually click the "Ok" button. Old code results in "Ok" buttons remaining visually disabled thus confusing users even when input elements have been completed
2020-05-19 18:58:52 +01:00
Sijia Zhao
e907c0c897 Prevent special characters in DlgFromDict dictionary causing DOM element selection problems
Use
$.escapeSelector()

Requires jQuery 3.0+
2020-05-19 18:47:16 +01:00
Sijia Zhao
4b064bccc0 Fix DlgFromDict form labels not focussing/selecting corresponding input element
Use
htmlCode += '<label for="' + keyId + '">' + key + '</label>';
2020-05-19 18:42:59 +01:00
Alain Pitiot
1cf40c4d8a _ 2020-05-12 18:31:11 +02:00
Alain Pitiot
4942e0156e 2020.1 branch 2020-02-14 08:18:25 +01:00
Alain Pitiot
039a8671c7 fixed issues: fullscreen mode, size of triangular marker in sliders; new features: window waitblanking 2019-07-31 10:37:51 +02:00
Alain Pitiot
d20a4cb0a5 version 3.1.4 2019-07-08 09:05:15 +02:00
Alain Pitiot
03f06ac64a version 3.0.8 2019-04-19 09:50:14 +02:00
Alain Pitiot
becf79b5d6 version 3.0.6: various bug fixes and enhancements 2019-03-12 09:28:31 +01:00
Alain Pitiot
900f438516 version 3.0.0b13 2018-12-28 13:13:50 +01:00
Alain Pitiot
10e2bc0650 added util module 2018-12-10 07:35:21 +01:00
Alain Pitiot
965814fa90 updated license notices and readme 2018-10-08 16:56:51 +02:00
Alain Pitiot
86488521d6 PsychoJs version 3.0.0b11 2018-10-08 16:44:23 +02:00