Mercurial > lada > lada-client
comparison 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 |
comparison
equal
deleted
inserted
replaced
1037:56922c5c21fd | 1038:1251094e7500 |
---|---|
29 if (!v) { | 29 if (!v) { |
30 return v; | 30 return v; |
31 } | 31 } |
32 return new Date(v); | 32 return new Date(v); |
33 } | 33 } |
34 /* | |
35 }, { | 34 }, { |
36 name: 'treeModified', | 35 name: 'readonly', |
37 serialize: function(value) { | 36 type: 'boolean' |
38 if (value === '') { | |
39 return null; | |
40 } | |
41 return value; | |
42 } | |
43 }, { | |
44 name: 'parentModified', | |
45 serialize: function(value) { | |
46 if (value === '') { | |
47 return null; | |
48 } | |
49 return value; | |
50 } | |
51 */ | |
52 }], | 37 }], |
53 | 38 |
54 idProperty: 'id', | 39 idProperty: 'id', |
55 | 40 |
56 proxy: { | 41 proxy: { |