From: <mig...@us...> - 2006-03-28 13:41:06
|
Revision: 4833 Author: migueljmol Date: 2006-03-28 05:40:55 -0800 (Tue, 28 Mar 2006) ViewCVS: http://svn.sourceforge.net/jmol/?rev=4833&view=rev Log Message: ----------- remove restriction for docroot relative URL + extend warning message Modified Paths: -------------- trunk/Jmol/appletweb/Jmol.js Modified: trunk/Jmol/appletweb/Jmol.js =================================================================== --- trunk/Jmol/appletweb/Jmol.js 2006-03-28 13:09:53 UTC (rev 4832) +++ trunk/Jmol/appletweb/Jmol.js 2006-03-28 13:40:55 UTC (rev 4833) @@ -42,11 +42,11 @@ } if (codebaseDirectory.indexOf("http://") == 0 || codebaseDirectory.indexOf("https://") == 0) - alert("codebaseDirectory should be directory relative,\n" + - "not be an absolute URL : " + codebaseDirectory); - else if (codebaseDirectory.charAt(0) == '/') - alert("codebaseDirectory should be directory relative,\n" + - "not relative to the root of the web server : " + codebaseDirectory); + alert("An absolute URL is not recommended for codebaseDirectory.\n" + + "A directory or docroot relative reference is recommended.\n\n" + + "If you are experienced enough to go 'off piste' then you\n" + + "can override this warning by inserting a space before\n" + + "http in your URL."); _jmolSetCodebase(codebaseDirectory); _jmolUseSignedApplet(useSignedApplet); _jmolOnloadResetForms(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |