Changeset 30770
- Timestamp:
- 2016-09-01T10:14:14+12:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/XSLTUtil.java
r30542 r30770 755 755 public static String getInterfaceStringsAsJavascript(String interface_name, String lang, String prefix, String prependToPrefix) 756 756 { 757 String prefixwithdot = prefix+"."; 757 758 // 1. Generating Javascript of the form: 758 759 // if(!gs.text) { gs.text = new Array(); } … … 783 784 { 784 785 String key = (String) keys.nextElement(); 785 if (key.startsWith(prefix ))786 if (key.startsWith(prefixwithdot)) 786 787 { 787 788 String value = getInterfaceText(interface_name, dictName, lang, key, null);
Note:
See TracChangeset
for help on using the changeset viewer.