summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2014-02-12 16:24:18 +0100
committergebele <gebele@in-silico.ch>2014-02-12 16:24:18 +0100
commit005347957b9b89a1ce9d000ab0c3c169988e0fa1 (patch)
tree22f189b58cd19404d6c740c53807a292e43465fe
parent01a148174d992e6daa185587b3c40d15ab634f1b (diff)
removed first ajax call without cid
-rw-r--r--views/layout.haml2
1 files changed, 1 insertions, 1 deletions
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("<h4>"+title+"</h4>"+"Retrieving data from PubChem. This may take some time, please be patient."+"<img src=\"/spinning-wait-icons/wait30trans.gif\" alt=\"Searching PubChem\">");
$.ajax({