[Lada-commits] [PATCH 1 of 3] Added readonly attribute
Wald Commits
scm-commit at wald.intevation.org
Fri Jul 5 14:50:22 CEST 2013
# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1373028403 -7200
# Node ID ef7b8499c9241fdf84c9c03f1f8b551a2fe6414e
# Parent 956555e20e027ff53ec7b3829e56ac2fbf410274
Added readonly attribute.
diff -r 956555e20e02 -r ef7b8499c924 app/model/Probe.js
--- 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: {
More information about the Lada-commits
mailing list