diff app/model/ProbeList.js @ 488:f7446ebfe5d0

Added and updated models.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 31 Oct 2014 21:10:35 +0100
parents debfcc7713e3
children 850ccfe5f3c4
line wrap: on
line diff
--- a/app/model/ProbeList.js	Fri Oct 31 21:07:39 2014 +0100
+++ b/app/model/ProbeList.js	Fri Oct 31 21:10:35 2014 +0100
@@ -15,11 +15,10 @@
     fields: [
         {name: "readonly"}
     ],
-    idProperty: "probeId",
+    idProperty: "id",
     proxy: {
         type: 'rest',
-        appendId: true, //default
-        url: 'server/rest/proben',
+        url: 'server/rest/probe',
         reader: {
             type: 'json',
             root: 'data'

http://lada.wald.intevation.org