Commit 6eff9358 6eff93586c55014ea8d390b37cd1ab9b82041c92 by Nicolas Perriault

minor adjusting for #376

1 parent 61b83b86
......@@ -459,6 +459,7 @@
* @return Mixed
*/
this.getFieldValue = function getFieldValue(inputName, options) {
options = options || {};
function getSingleValue(input) {
var type;
try {
......@@ -496,7 +497,7 @@
}
var formSelector = '';
if (options && options.formSelector) {
formSelector = options.formSelector + ' ';
formSelector = options.formSelector + ' ';
}
var inputs = this.findAll(formSelector + '[name="' + inputName + '"]');
switch (inputs.length) {
......