minor adjusting for #376
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -459,6 +459,7 @@ | ... | @@ -459,6 +459,7 @@ |
459 | * @return Mixed | 459 | * @return Mixed |
460 | */ | 460 | */ |
461 | this.getFieldValue = function getFieldValue(inputName, options) { | 461 | this.getFieldValue = function getFieldValue(inputName, options) { |
462 | options = options || {}; | ||
462 | function getSingleValue(input) { | 463 | function getSingleValue(input) { |
463 | var type; | 464 | var type; |
464 | try { | 465 | try { |
... | @@ -496,7 +497,7 @@ | ... | @@ -496,7 +497,7 @@ |
496 | } | 497 | } |
497 | var formSelector = ''; | 498 | var formSelector = ''; |
498 | if (options && options.formSelector) { | 499 | if (options && options.formSelector) { |
499 | formSelector = options.formSelector + ' '; | 500 | formSelector = options.formSelector + ' '; |
500 | } | 501 | } |
501 | var inputs = this.findAll(formSelector + '[name="' + inputName + '"]'); | 502 | var inputs = this.findAll(formSelector + '[name="' + inputName + '"]'); |
502 | switch (inputs.length) { | 503 | switch (inputs.length) { | ... | ... |
-
Please register or sign in to post a comment