From 6e8ebad9b1d448b8b1c5de7ebc87cea64f40cf9d Mon Sep 17 00:00:00 2001 From: Alexander Gabriel Date: Fri, 25 May 2012 22:32:19 +0200 Subject: [PATCH] Fehler beim Speichern von Feldern behoben --- vendor/couchapp/_attachments/evab.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {