[Lada-commits] [PATCH 5 of 5] Reset idProperty to probeId again as it seems the the submitted data will have
Wald Commits
scm-commit at wald.intevation.org
Tue Jun 25 17:34:49 CEST 2013
# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1372174436 -7200
# Node ID 1620d02d29731176d7fed6d6f1288631e0b96791
# Parent 819bfedb70de0250e67e8aafa5b7667df9825cd6
Reset idProperty to probeId again as it seems the the submitted data will have
an autogenerated id property "id" in the other case which causes problems on
the server side.
diff -r 819bfedb70de -r 1620d02d2973 app/model/Probe.js
--- a/app/model/Probe.js Tue Jun 25 17:32:07 2013 +0200
+++ b/app/model/Probe.js Tue Jun 25 17:33:56 2013 +0200
@@ -28,6 +28,7 @@
{name: "test"},
{name: "umwId"}
],
+ idProperty: "probeId",
proxy: {
type: 'rest',
appendId: true, //default
More information about the Lada-commits
mailing list