Mercurial > lada > lada-client
comparison app/model/Messung.js @ 711:af16a257d5f6
Updated the model to have correct tree_modified value and parent_modified
fields.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 08 Apr 2015 10:51:39 +0200 |
parents | 0c8e689f3bcb |
children | 023e622f9551 |
comparison
equal
deleted
inserted
replaced
710:f204f30b824a | 711:af16a257d5f6 |
---|---|
55 name: 'geplant', | 55 name: 'geplant', |
56 type: 'boolean' | 56 type: 'boolean' |
57 }, { | 57 }, { |
58 name: 'messungsIdAlt' | 58 name: 'messungsIdAlt' |
59 }, { | 59 }, { |
60 name: 'treeModified' | 60 name: 'treeModified', |
61 serialize: function(value) { | |
62 if (value === '') { | |
63 return null; | |
64 } | |
65 return value; | |
66 } | |
67 }, { | |
68 name: 'parentModified', | |
69 serialize: function(value) { | |
70 if (value === '') { | |
71 return null; | |
72 } | |
73 return value; | |
74 } | |
61 }], | 75 }], |
62 | 76 |
63 idProperty: 'id', | 77 idProperty: 'id', |
64 | 78 |
65 proxy: { | 79 proxy: { |