Add some error handling to autocomplete.

Review Request #5766 — Created May 3, 2014 and submitted — Latest diff uploaded

Information

Review Board
release-2.0.x
ff96673...

Reviewers

Add some error handling to autocomplete.

This is a minimal version of how the backbone models handle errors, except that I put the JSON parsing into the error callback rather than directly into the autocomplete library, in order to keep the latter more generic.

All unit tests pass, except some VCS-specific ones, which were skipped.