diff app/model/Ort.js @ 217:4db982514a5f

Fixed issue21
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 15 Jul 2013 16:30:52 +0200
parents 16ba7e2465fd
children eb483558bce4
line wrap: on
line diff
--- a/app/model/Ort.js	Mon Jul 15 15:30:52 2013 +0200
+++ b/app/model/Ort.js	Mon Jul 15 16:30:52 2013 +0200
@@ -20,6 +20,11 @@
             type: 'json',
             root: 'data'
         }
+    },
+    getEidi: function() {
+        var ortId = this.get('portId');
+        var probeId = this.get('probeId');
+        return "/" + ortId + "/" + probeId;
     }
 });
 

http://lada.wald.intevation.org