ExtLink got some js refactoring in #1329786: JS refactoring and now breaks javascript on ajax requests: 'TypeError: settings.extlink is undefined'

To reproduce:
- Enable extlink
- Create an ajax request, for example upload a file in a field with multiple values

CommentFileSizeAuthor
#1 extlink-undefined-error-2243545-1.patch492 bytesidebr
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

idebr’s picture

Status: Active » Needs review
FileSize
492 bytes

Attached patch fixes the TypeError on ajax requests

ADrupalUser’s picture

Thanks. I also had this issue and can confirm the patch works.

grasmash’s picture

Status: Needs review » Reviewed & tested by the community

I can confirm that this fixes the bug.

elachlan’s picture

Status: Reviewed & tested by the community » Fixed

Committed this to 7.x dev branch.

ADrupalUser’s picture

Has this been applied to 7.x-1.17, or do we need to reapply after updating?

elachlan’s picture

This is in 7.x-1.17

Status: Fixed » Closed (fixed)

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