form help check for a currentFormItem
A test page for Uncaught TypeError.
Uncaught TypeError: Cannot read property 'setAttribute' of undefined at HTMLDocument.formHelpDocumentClickHandler (full.js:2150)
To reproduce
- Change _form-help.js
In function formHelpDocumentClickHandler change
if (currentFormItem !== undefined && (e.target.form !== currentForm || document.activeElement !== e.target)) {
to
if ((e.target.form !== currentForm || document.activeElement !== e.target)) {
- Tick the checkbox
- Untick the checkbox