diff app/model/Probenzusatz.js @ 702:0c8e689f3bcb

Added readonly to models, Probenzusatzwertgrid does now check wheter a record is readonly and disables the roweditor in such a case
author Dustin Demuth <dustin@intevation.de>
date Fri, 27 Mar 2015 10:20:22 +0100
parents c5b8896768a2
children f73ca04d73a7
line wrap: on
line diff
--- a/app/model/Probenzusatz.js	Fri Mar 27 09:38:13 2015 +0100
+++ b/app/model/Probenzusatz.js	Fri Mar 27 10:20:22 2015 +0100
@@ -26,6 +26,10 @@
         name: 'owner',
         type: 'boolean'
     }, {
+        name: 'readonly',
+        type: 'boolean',
+        persist: false
+    }, {
         name: 'beschreibung'
     }, {
         name: 'mehId',

http://lada.wald.intevation.org