1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00
This commit is contained in:
Zach Moody
2017-03-24 17:38:06 -05:00
parent 576e21eb65
commit 48141c0693
4 changed files with 8 additions and 8 deletions

View File

@@ -27,7 +27,7 @@ $(document).ready(function() {
data: search_key + '=' + request.term,
success: function(data) {
var choices = [];
$.each(data, function (index, choice) {
$.each(data.results, function (index, choice) {
choices.push({
value: choice.id,
label: choice[label]