From 005347957b9b89a1ce9d000ab0c3c169988e0fa1 Mon Sep 17 00:00:00 2001 From: gebele Date: Wed, 12 Feb 2014 16:24:18 +0100 Subject: removed first ajax call without cid --- views/layout.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views') diff --git a/views/layout.haml b/views/layout.haml index 827baaf..6500da8 100644 --- a/views/layout.haml +++ b/views/layout.haml @@ -6,7 +6,7 @@ %link{:rel=>'stylesheet', :href=>"#{'/style.css'}", :type => "text/css"} %script{:type => "text/javascript", :src => "/jquery-1.8.2.js"} :javascript - $(document).ready(function() { $.ajax({ url: "/cid/#{@cid}/experiments", cache: true }); }); + //$(document).ready(function() { $.ajax({ url: "/cid/#{@cid}/experiments", cache: true }); }); function show(title,element,uri) { $(element).html("

"+title+"

"+"Retrieving data from PubChem. This may take some time, please be patient."+"\"Searching"); $.ajax({ -- cgit v1.2.3