changeset 139:df6e36dd57ee

Changed params probe -> probeId, mst -> mstId, uwb -> umwId
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 27 Jun 2013 16:21:21 +0200
parents 4287f29b5b81
children 00e43c00b7f2
files app/controller/Proben.js app/controller/Sql.js
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/app/controller/Proben.js	Wed Jun 26 14:30:40 2013 +0200
+++ b/app/controller/Proben.js	Thu Jun 27 16:21:21 2013 +0200
@@ -48,7 +48,7 @@
         var zstore = this.getZusatzwerteStore();
         zstore.load({
             params: {
-                probe: id
+                probeId: id
             }
         });
         console.log("Loaded Probe with ID " + record.getId()); //outputs ID
--- a/app/controller/Sql.js	Wed Jun 26 14:30:40 2013 +0200
+++ b/app/controller/Sql.js	Thu Jun 27 16:21:21 2013 +0200
@@ -51,10 +51,10 @@
             var mst = Ext.getCmp('mst').getValue();
             var uwb = Ext.getCmp('uwb').getValue();
             if (mst !== null) {
-                searchParams['mst'] = mst;
+                searchParams['mstId'] = mst;
             }
             if (uwb !== null) {
-                searchParams['uwb'] = uwb;
+                searchParams['umwId'] = uwb;
             }
         } else {
             // Get date object an convert it into a timestamp (ms since epoch)

http://lada.wald.intevation.org