Wrong JS selector when webform in paragraph.

webform.form.submit_once.js has selectors by id "#edit-actions", when webform is in paragraph this id can be different (e.g. #edit-actions--2, #edit-actions--3 etc.).

SUGGESTIONS

* Replace id selector with class ".form-actions" selector.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

artematem created an issue. See original summary.

artematem’s picture

Status: Active » Needs review
FileSize
1.81 KB
jrockowitz’s picture

Status: Needs review » Fixed

Thanks.

artematem’s picture

Issue summary: View changes

  • jrockowitz committed 27563ac on 8.x-5.x
    Issue #2928646 by artematem: Webform submit once not working if webform...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.