[Lada-commits] [PATCH 1 of 4] Fixed building the id of MKommentar

Wald Commits scm-commit at wald.intevation.org
Mon Jul 8 16:48:47 CEST 2013


# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1373294714 -7200
# Node ID 8970cbad6cae76002421472eb6d6f4f419fc3f36
# Parent  7a4d93c9b0ff34678824199685ece44e745645fb
Fixed building the id of MKommentar

diff -r 7a4d93c9b0ff -r 8970cbad6cae app/model/MKommentar.js
--- 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;


More information about the Lada-commits mailing list