changeset 220:8e41a5a6cb7f

Fixed variable name
author Torsten Irländer <torsten.irlaender@intevation.de>
date Mon, 15 Jul 2013 17:51:28 +0200
parents 82f8b5638f26
children cf83b382dc02
files app/model/Status.js
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/app/model/Status.js	Mon Jul 15 17:10:40 2013 +0200
+++ b/app/model/Status.js	Mon Jul 15 17:51:28 2013 +0200
@@ -1,7 +1,7 @@
 Ext.define('Lada.model.Status', {
     extend: 'Ext.data.Model',
     fields: [
-        {name: "sId"},
+        {name: "sid"},
         {name: "messungsId"},
         {name: "probeId"},
         {name: "erzeuger"},
@@ -20,7 +20,7 @@
         }
     },
     getEidi: function() {
-        var sid =  this.get('sId');
+        var sid =  this.get('sid');
         var messId = this.get('messungsId');
         var probeId = this.get('probeId');
         return "/" + sid + "/" + messId + "/" + probeId;

http://lada.wald.intevation.org