Switch to Boostrap Typeahead instead of JQuery-UI Autocomplete.

This reduces the number of CSS/JS files we need to load, which is awesome.

(imported from commit 3d34276a185e61f698163402cff2fd2c75ce0bd7)
This commit is contained in:
Luke Faraone
2012-09-19 11:51:53 -04:00
parent b634d26017
commit 72eb05dfc5
4 changed files with 6 additions and 571 deletions

View File

@@ -608,13 +608,13 @@ function update_autocomplete() {
instance_list.sort();
people_list.sort();
$( "#class" ).autocomplete({
$( "#class" ).typeahead({
source: class_list
});
$( "#instance" ).autocomplete({
$( "#instance" ).typeahead({
source: instance_list
});
$( "#recipient" ).autocomplete({
$( "#recipient" ).typeahead({
source: people_list
});
}