diff --git a/vendor/couchapp/_attachments/evab.js b/vendor/couchapp/_attachments/evab.js index 0a01ea6..1caf7d4 100644 --- a/vendor/couchapp/_attachments/evab.js +++ b/vendor/couchapp/_attachments/evab.js @@ -2591,10 +2591,10 @@ function generiereHtmlFuerMultipleselectOptionen(FeldName, FeldWert, Optionen) { } o[this.name].push(this.value); } else { - if (myTypeOf(Feldwert) === "integer") { + if (myTypeOf(this.value) === "integer") { //typ ist Int o[this.name] = parseInt(this.value); - } else if (myTypeOf(Feldwert) === "float") { + } else if (myTypeOf(this.value) === "float") { //typ ist Float o[this.name] = parseFloat(this.value); } else {