AutoComplete is now using jQuery UI AutoComplete.

Removed jquery.liveQuery.
This commit is contained in:
Mark McDowall 2011-09-08 20:26:48 -07:00
parent 59d4ae6219
commit d330c65165
14 changed files with 107 additions and 380 deletions

View file

@ -45,9 +45,13 @@ namespace NzbDrone.Web.Controllers
return View();
}
public ActionResult TestPartial()
public JsonResult TestResults(string q)
{
return View();
var results = new List<TvDbSearchResultModel>();
results.Add(new TvDbSearchResultModel { Id = 1, Title = "30 Rock", FirstAired = DateTime.Today.ToShortDateString() });
results.Add(new TvDbSearchResultModel { Id = 2, Title = "The Office", FirstAired = DateTime.Today.AddDays(-1).ToShortDateString() });
return Json(results, JsonRequestBehavior.AllowGet );
}
public ActionResult Index()