diff options
author | Christoph Helma <helma@in-silico.ch> | 2012-12-11 17:56:02 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2012-12-11 17:56:02 +0100 |
commit | 9aa2330f4225bffb2afe7128cf47c24f46ad54b0 (patch) | |
tree | a80dce931369b927444c287727f15a449eb92e46 /views/layout.haml | |
parent | 610aaaf543fbc06ed3173011750b48001dc5003c (diff) |
caching version without external proxy
Diffstat (limited to 'views/layout.haml')
-rw-r--r-- | views/layout.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/layout.haml b/views/layout.haml index 1abb7a8..19d972a 100644 --- a/views/layout.haml +++ b/views/layout.haml @@ -1,10 +1,10 @@ !!! 5 %html %head - %script{:type => "text/javascript", :src => "jquery-1.8.2.js"} + %script{:type => "text/javascript", :src => "/jquery-1.8.2.js"} :javascript function show(title,element,uri) { - $(element).html("<h4>"+title+"</h4>"+"<img src=\"/spinning-wait-icons/wait30trans.gif\" alt=\"Searching PubChem\">"); + $(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({ cache: true, url: uri, @@ -24,7 +24,7 @@ } function display(element,uri) { - $(element).html("<img src=\"/spinning-wait-icons/wait30trans.gif\" alt=\"Searching PubChem\">"); + $(element).html("Retrieving data from PubChem. This may take some time, please be patient."+"<img src=\"/spinning-wait-icons/wait30trans.gif\" alt=\"Searching PubChem\">"); $.ajax({ cache: true, url: uri, |