In the latest chrome and firefox browsers, when you click on a proposed suggestion you get following javascript error:

ReferenceError: input is not defined
input.value = $(node).data('autocompleteValue');

Fixed by (re-)adding this. to input.value:
this.input.value = $(node).data('autocompleteValue');

Problem was introduced in related issue #2338923.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lorenzs’s picture

lorenzs created an issue.

Patch attached with fix.

lorenzs’s picture

lorenzs’s picture

Status: Active » Needs review
iamEAP’s picture

Status: Needs review » Reviewed & tested by the community

Thanks @lorenzs! I was able to reproduce the error you mentioned on SimplyTest.me. I was also able to verify that your patch resolves the issue and functionality (including selecting suggestions by click and by using the enter key) is restored.

  • iamEAP committed 80c07af on 7.x-1.x authored by lorenzs
    Issue #2733443 by lorenzs: Clicking on suggestion fails with js error
    
iamEAP’s picture

Status: Reviewed & tested by the community » Fixed

This will be available in the 7.x-1.6 release.

Status: Fixed » Closed (fixed)

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