[Lada-commits] [PATCH 2 of 2] Changed params probe -> probeId, mst -> mstId, uwb -> umwId

Wald Commits scm-commit at wald.intevation.org
Thu Jun 27 16:22:13 CEST 2013


# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1372342881 -7200
# Node ID df6e36dd57ee83b0ab0382259428d2b3158c9c92
# Parent  4287f29b5b81b100a3718002188cf3f09d0a790b
Changed params probe -> probeId, mst -> mstId, uwb -> umwId

diff -r 4287f29b5b81 -r df6e36dd57ee app/controller/Proben.js
--- 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
diff -r 4287f29b5b81 -r df6e36dd57ee app/controller/Sql.js
--- 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)


More information about the Lada-commits mailing list