Changeset 16333
- Timestamp:
- 2008-07-10T13:10:29+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/gui/HelpFrame.java
r12119 r16333 226 226 try { 227 227 String help_index_file_path = getHelpFolder() + "help_index.xml"; 228 Document document = XMLTools.parseXMLFile(help_index_file_path, true); 228 Document document = null; 229 if (Gatherer.isApplet && JarTools.getResource(help_index_file_path) != null) { 230 document = XMLTools.parseXMLFile(help_index_file_path, true); 231 } 232 233 if (new File(help_index_file_path).exists()) { 234 document = XMLTools.parseXMLFile(help_index_file_path, false); 235 } 229 236 230 237 // Traverse the help hierarchy, building a tree representing its structure
Note:
See TracChangeset
for help on using the changeset viewer.