Sotiri Bakagiannis
79461914bc
core/GUI: save whole element ids in required keys
2021-02-19 14:27:21 +00:00
Sotiri Bakagiannis
004a5c96ec
core/GUI: use Object.keys() when iterating over e.g., expInfo in DlgFromDict
2021-01-11 14:51:11 +00:00
Alain Pitiot
c89d2ff91a
small correction to PsychObject; corrected annoying change of focus in GUI; corrected bounding box issue with Slider
2020-12-01 10:48:43 +01:00
Alain Pitiot
940aa3d60e
Merge pull request #223 from thewhodidthis/bf#222--gui
...
core/GUI: Make jQuery UI dialog boxes non-draggable, non-resizable
2020-12-01 08:17:33 +01:00
Sotiri Bakagiannis
d088e832d9
core/GUI: make #msgDialog non-draggable and non-resizable
2020-11-16 12:21:00 +00:00
Sotiri Bakagiannis
8bb7c99cbf
core/GUI: make #expDialog non-draggable
2020-11-16 12:20:36 +00:00
Sotiri Bakagiannis
51a8b69d16
core/GUI: call Tone.start() when hitting OK dialog button
2020-10-15 14:56:18 +01:00
Sotiri Bakagiannis
717aa3ca4f
core/GUI: make sure _setRequiredKeys exists before accessing its size
2020-09-29 20:50:54 +01:00
Sotiri Bakagiannis
a0de6a5921
core/GUI: give the OK button focus if enabled
2020-09-04 10:05:59 +01:00
Alain Pitiot
e15c05af31
updated copyright date
2020-08-20 13:42:36 +02:00
Alain Pitiot
6e8f3bf612
revised the attribute mechanisms; various bug fixes and performance improvements
2020-08-20 11:59:56 +02:00
Sotiri Bakagiannis
f4b9717467
core/GUI: swap placement of OK/Cancel dialog box buttons
2020-07-27 12:14:47 +01:00
Alain Pitiot
1fc76d1461
complete linting, saving of partial results, improved GUI, various bug fixes
2020-07-03 14:26:43 +02:00
Alain Pitiot
8276bd790a
replace jquery escapeSelector by CSS.escape since the latter is standard and the former is only available in jquery 3.0
2020-05-24 14:23:00 +02:00
Sijia Zhao
584d76a04f
Dialogs now properly destroyed and removed from DOM when closed
...
Ensures dialogs are immediately removed from DOM when closed.
Previously, dialogs were destroyed but not removed causing possibility of duplicate element IDs, so jQuery unitentionally selects and recreates old dialogs, thus GUI._updateOkButtonStatus updates the wrong button.
2020-05-19 19:31:29 +01:00
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