Opened 3 years ago

Closed 3 years ago

#13205 closed defect (bug) (fixed)

Add menu item autocompleters throw JS errors when no results found

Reported by: koopersmith Owned by: koopersmith
Priority: normal Milestone: 3.0
Component: Menus Version: 3.0
Severity: normal Keywords: has-patch
Cc:

Description

The JS error is located in the jQuery autocomplete module at line 429, which means somewhere, somehow, we're probably doing something wrong.

Attachments (3)

13205.diff (406 bytes) - added by duck_ 3 years ago.
13205.2.diff (727 bytes) - added by duck_ 3 years ago.
didn't fix for category search
13205.3.diff (727 bytes) - added by duck_ 3 years ago.
refreshed for r14387

Download all attachments as: .zip

Change History (6)

duck_3 years ago

  • Keywords has-patch added

I believe the autocomplete plugin requires each match to be on a new line or nothing if no matches. Echoing '-1' was breaking it.

duck_3 years ago

didn't fix for category search

duck_3 years ago

refreshed for r14387

(In [14405]) Fix JS error in autocomplete. props koopersmith, see #13205.

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.