X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=share%2Fcollection.js;h=026d434cc46cf08b08091b879738bca9101f7b4d;hb=dc45c37c2c3fe9ae46e3bbbc46654eba0c2672e6;hp=1afd64c1fcc54a6c80acdd22a2925da8be450ad2;hpb=d83e2903e3ab90e605fee0b24e48b7cb8548e6ea;p=collection4.git diff --git a/share/collection.js b/share/collection.js index 1afd64c..026d434 100644 --- a/share/collection.js +++ b/share/collection.js @@ -1,6 +1,6 @@ function format_instance(inst) { - return ("
  • " + inst.description + "
  • "); + return ("
  • " + inst.description + "
  • "); } function format_instance_list(instances) @@ -29,7 +29,7 @@ $(document).ready(function() { { var term = $("#search-input").val (); $.getJSON ("collection.fcgi", - { "action": "list_graphs", "format": "json", "search": term}, + { "action": "search_json", "q": term}, function(data) { var i;