1.1 --- a/examples/Common/Configurator/Resources/scripts/XSLForms.js Wed Oct 12 16:31:49 2005 +0000
1.2 +++ b/examples/Common/Configurator/Resources/scripts/XSLForms.js Wed Oct 12 16:33:14 2005 +0000
1.3 @@ -64,6 +64,12 @@
1.4 for (var i = 0; i < fieldNameArray.length; i++) {
1.5 var fieldName = fieldNameArray[i];
1.6
1.7 + // Skip empty field names (arising through empty elements in the CSV list).
1.8 +
1.9 + if (fieldName == "") {
1.10 + continue;
1.11 + }
1.12 +
1.13 // Find the values of the target field.
1.14
1.15 var fieldValue;
2.1 --- a/examples/Common/Dictionary/Resources/scripts/XSLForms.js Wed Oct 12 16:31:49 2005 +0000
2.2 +++ b/examples/Common/Dictionary/Resources/scripts/XSLForms.js Wed Oct 12 16:33:14 2005 +0000
2.3 @@ -64,6 +64,12 @@
2.4 for (var i = 0; i < fieldNameArray.length; i++) {
2.5 var fieldName = fieldNameArray[i];
2.6
2.7 + // Skip empty field names (arising through empty elements in the CSV list).
2.8 +
2.9 + if (fieldName == "") {
2.10 + continue;
2.11 + }
2.12 +
2.13 // Find the values of the target field.
2.14
2.15 var fieldValue;
3.1 --- a/examples/Common/VerySimple/Resources/scripts/XSLForms.js Wed Oct 12 16:31:49 2005 +0000
3.2 +++ b/examples/Common/VerySimple/Resources/scripts/XSLForms.js Wed Oct 12 16:33:14 2005 +0000
3.3 @@ -64,6 +64,12 @@
3.4 for (var i = 0; i < fieldNameArray.length; i++) {
3.5 var fieldName = fieldNameArray[i];
3.6
3.7 + // Skip empty field names (arising through empty elements in the CSV list).
3.8 +
3.9 + if (fieldName == "") {
3.10 + continue;
3.11 + }
3.12 +
3.13 // Find the values of the target field.
3.14
3.15 var fieldValue;