Opened 16 years ago
Closed 16 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: | Focuses: |
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)
Change History (6)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I believe the autocomplete plugin requires each match to be on a new line or nothing if no matches. Echoing '-1' was breaking it.