Re: [Jmol-users] Find/chemical

2017-06-28 Thread Robert Hanson
thanks, that is good to know. ​ -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Jmol-users

Re: [Jmol-users] Find/chemical

2017-06-28 Thread Otis Rothenberger
Bob, You can do it with jQuery. This is just a quick hit for methane to see if cactus is down. The error t is the string “timeout”... function ckInchiResolver() { if (!isOnline()) { resolverOnline = false; return null; } $.ajax({

Re: [Jmol-users] Find/chemical

2017-06-27 Thread Robert Hanson
I don't believe you can set the timeout for an AJAX call in a browser. Can you? If so, we're not doing that but probably should. It's probably 60 seconds. You can do that with PHP, I know... Bob ​ -- Check out the vibrant

[Jmol-users] Find/chemical

2017-06-27 Thread Otis Rothenberger
Bob, I assume calls like this {*}.find("chemical","stdinchi”) are using Ajax to Resolver. I see that I can catch a 404 error form this .find, but I’m wondering about a timeout. Do you have a timeout set in your Ajax call? If so, what’s the text response? Otis -- Otis Rothenberger