XSLTools

Change of examples/Common/QtConfigurator/Resources/scripts/XSLForms.js

421:460a8f5160d4
examples/Common/QtConfigurator/Resources/scripts/XSLForms.js
     1.1 --- a/examples/Common/QtConfigurator/Resources/scripts/XSLForms.js	Mon Nov 28 16:44:46 2005 +0000
     1.2 +++ b/examples/Common/QtConfigurator/Resources/scripts/XSLForms.js	Mon Nov 28 18:19:43 2005 +0000
     1.3 @@ -124,7 +124,7 @@
     1.4                          requestBody += ("&" + encodeURIComponent(fieldName) + "=" + encodeURIComponent(fieldValue));
     1.5                      }
     1.6                  }
     1.7 -            } else {
     1.8 +            } else if (fieldNodes[v].type != 'checkbox' && fieldNodes[v].type != 'radio' || fieldNodes[v].checked) {
     1.9                  fieldValue = fieldNodes[v].value;
    1.10                  requestBody += ("&" + encodeURIComponent(fieldName) + "=" + encodeURIComponent(fieldValue));
    1.11              }