Code

share/collection.js: Rename the "show_graph" action here, too.
[collection4.git] / share / collection.js
index 99684524192ad31a08f0e67a9be5326134b9eef1..75391b9a8343015f2bed538cb9c8531cc633999c 100644 (file)
@@ -1,7 +1,7 @@
 function format_instance(inst)
 {
   return ("<li class=\"instance\"><a href=\"" + location.pathname
-      + "?action=show_graph;" + inst.params + "\">" + inst.description
+      + "?action=show_instance;" + inst.params + "\">" + inst.description
       + "</a></li>");
 }
 
@@ -58,7 +58,10 @@ $(document).ready(function() {
 
     $("#search-input").blur (function()
     {
-      $("#search-suggest").hide ();
+      window.setTimeout (function ()
+      {
+        $("#search-suggest").hide ();
+      }, 500);
     });
 
     $("#search-input").focus (function()