Closed (fixed)
Project:
Webform
Version:
6.1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Jan 2022 at 10:24 UTC
Updated:
25 Jan 2022 at 17:59 UTC
Jump to comment: Most recent
On IE11, the javascript added in #3224465: Improve accessibility of help buttons https://www.drupal.org/project/webform/issues/3224465 breaks.
On a clean install, add a new webform with a field containing a "Help text". Open the webform on IE11.
The error that we have is:
```
SCRIPT1003: expected: ':'
webform.element.help.js (32, 11)
```
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
mathilde_dumond commentedComment #5
jrockowitz commentedYep, that change introduced some ES6 code. Once Drupal 10 is released with drop IE11 support. For now, I backported the code snippet to ES5 using https://babeljs.io/repl/
Comment #7
jrockowitz commentedSince the code change is automated, I merged the PR, Please try the patch or download the latest dev release to test.
Comment #8
mathilde_dumond commentedApplied the patch and it fixed the issue, thanks a lot!