From: <ha...@us...> - 2008-08-12 23:27:56
|
Revision: 9718 http://jmol.svn.sourceforge.net/jmol/?rev=9718&view=rev Author: hansonr Date: 2008-08-12 23:27:53 +0000 (Tue, 12 Aug 2008) Log Message: ----------- Modified Paths: -------------- trunk/Jmol/src/org/openscience/jmol/app/webexport/WebExport.java Modified: trunk/Jmol/src/org/openscience/jmol/app/webexport/WebExport.java =================================================================== --- trunk/Jmol/src/org/openscience/jmol/app/webexport/WebExport.java 2008-08-12 23:17:50 UTC (rev 9717) +++ trunk/Jmol/src/org/openscience/jmol/app/webexport/WebExport.java 2008-08-12 23:27:53 UTC (rev 9718) @@ -271,7 +271,7 @@ String lang = GT.getLanguage(); String fileName = root + "_" + lang + ".html"; URL url = getResource(object, fileName, false); - if (url == null) { + if (url == null && lang.length() == 5) { fileName = root + "_" + lang.substring(0, 2) + ".html"; url = getResource(object, fileName, false); if (url == null) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |