diff app/model/MKommentar.js @ 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 f1f0351b6e2f
children d3f4a39bf89e
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