Improve survey, comment code
This commit is contained in:
parent
473d3c3546
commit
16af9ac0ea
15 changed files with 274 additions and 67 deletions
|
|
@ -11,7 +11,7 @@ $(document).ready(function () {
|
|||
name_field = "name";
|
||||
let input = target.val();
|
||||
|
||||
$.getJSON(api_url + "?format=json&search=^" + input + api_url_suffix, function(objects) {
|
||||
$.getJSON(api_url + (api_url.includes("?") ? "&" : "?") + "format=json&search=^" + input + api_url_suffix, function(objects) {
|
||||
let html = "";
|
||||
|
||||
objects.results.forEach(function (obj) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue