Made a nice new UI for autocompleting

This commit is contained in:
David Taylor
2015-04-22 13:27:56 +01:00
parent 0618684de8
commit 66236df979
9 changed files with 2940 additions and 84 deletions

View File

@@ -132,12 +132,4 @@ $("#item-table tbody").sortable({
});
}
});
$('.autocomplete-update').on("autocompleteselect", function(event, ui) {
update_url = ui['item']['update'];
target = $('#' + event['target'].dataset.target + "-update");
console.log(update_url);
console.log(target);
target.attr('href', update_url);
});