1
0
mirror of https://github.com/psychopy/psychojs.git synced 2025-05-11 16:18:10 +00:00

core/GUI: restore warning about required fields

This commit is contained in:
Sotiri Bakagiannis 2021-05-27 11:17:28 +01:00
parent fbd30ab2db
commit 191ca3458e

View File

@ -113,7 +113,9 @@ export class GUI
}
// prepare jquery UI dialog box:
let htmlCode = '<div id="expDialog" title="' + title + '">';
let htmlCode =
'<div id="expDialog" title="' + title + '">' +
'<p class="validateTips">Fields marked with an asterisk (*) are required.</p>';
// uncomment for older version of the library:
// htmlCode += '<p style="font-size: 0.8em; padding: 0.5em; margin-bottom: 0.5em; color: #FFAA00; border: 1px solid #FFAA00;">&#9888; This experiment uses a deprecated version of the PsychoJS library. Consider updating to a newer version (e.g. by updating PsychoPy and re-exporting the experiment).</p>'+