Mercurial > lada > lada-client
diff app/model/Status.js @ 220:8e41a5a6cb7f
Fixed variable name
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Mon, 15 Jul 2013 17:51:28 +0200 |
parents | 945a727209d3 |
children | d27017394c8f |
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;