diff app/model/DatensatzErzeuger.js @ 1038:1251094e7500

Added readonly flag to stammdaten model.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 19 Feb 2016 13:58:43 +0100
parents 15d8c64049d1
children 981339d774b8
line wrap: on
line diff
--- a/app/model/DatensatzErzeuger.js	Thu Feb 18 13:35:54 2016 +0100
+++ b/app/model/DatensatzErzeuger.js	Fri Feb 19 13:58:43 2016 +0100
@@ -31,24 +31,9 @@
             }
             return new Date(v);
         }
-/*
     }, {
-        name: 'treeModified',
-        serialize: function(value) {
-            if (value === '') {
-                return null;
-            }
-            return value;
-        }
-    }, {
-        name: 'parentModified',
-        serialize: function(value) {
-            if (value === '') {
-                return null;
-            }
-            return value;
-        }
-*/
+        name: 'readonly',
+        type: 'boolean'
     }],
 
     idProperty: 'id',

http://lada.wald.intevation.org