diff app/model/Probe.js @ 187:ef7b8499c924

Added readonly attribute.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 05 Jul 2013 14:46:43 +0200
parents dcb40a53ade2
children d18465f7b66a
line wrap: on
line diff
--- a/app/model/Probe.js	Fri Jul 05 11:19:26 2013 +0200
+++ b/app/model/Probe.js	Fri Jul 05 14:46:43 2013 +0200
@@ -24,7 +24,11 @@
         {name: "solldatumBeginn", type: 'date', convert: ts2date, defaultValue: new Date()},
         {name: "solldatumEnde", type: 'date', convert: ts2date, defaultValue: new Date()},
         {name: "test"},
-        {name: "umwId"}
+        {name: "umwId"},
+
+        // Readonly-Flag (sent additionaly by the server, not part of the
+        // model)
+        {name: "readonly"}
     ],
     idProperty: "probeId",
     proxy: {

http://lada.wald.intevation.org