I had a problem using this module with JS aggregation enabled. On pages that don't have an autocomplete field the database object Drupal.ACDB doesn't exist so the script fails. I solved it by wrapping the js code in an if {}. Patch to follow below.

BTW thanks for this really useful module. It solved a serious memory problem for me on a site with thousands of nodes.

CommentFileSizeAuthor
#2 autocomplete_limit-2675520-1.patch1.82 KBpeacog

Comments

Peacog created an issue. See original summary.

peacog’s picture

Status: Active » Needs review
StatusFileSize
new1.82 KB

  • cafuego committed e9534c3 on 7.x-1.x authored by Peacog
    Issue #2675520 by Peacog: Breaks pages without an autocomplete field...
cafuego’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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