changeset 187:ef7b8499c924

Added readonly attribute.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 05 Jul 2013 14:46:43 +0200
parents 956555e20e02
children 0fcec0c8c072
files app/model/Probe.js
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
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