changeset 203:8970cbad6cae

Fixed building the id of MKommentar
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 08 Jul 2013 16:45:14 +0200
parents 7a4d93c9b0ff
children 4a79323336c6
files app/model/MKommentar.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/model/MKommentar.js	Mon Jul 08 16:16:39 2013 +0200
+++ b/app/model/MKommentar.js	Mon Jul 08 16:45:14 2013 +0200
@@ -19,7 +19,7 @@
         }
     },
     getEidi: function() {
-        var kid =  this.get('id.kid');
+        var kid =  this.get('id').kid;
         var messId = this.get('messungsId');
         var probeId = this.get('probeId');
         return "/" + kid + "/" + messId + "/" + probeId;

http://lada.wald.intevation.org