comparison app/model/Messwert.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 f4eb53ba63fc
comparison
equal deleted inserted replaced
710:f204f30b824a 711:af16a257d5f6
50 } 50 }
51 return new Date(v); 51 return new Date(v);
52 }, 52 },
53 defaultValue: new Date() 53 defaultValue: new Date()
54 }, { 54 }, {
55 name: 'treeModified' 55 name: 'treeModified',
56 serialize: function(value) {
57 if (value === '') {
58 return null;
59 }
60 return value;
61 }
62 }, {
63 name: 'parentModified',
64 serialize: function(value) {
65 if (value === '') {
66 return null;
67 }
68 return value;
69 }
56 }], 70 }],
57 71
58 idProperty: 'id', 72 idProperty: 'id',
59 73
60 proxy: { 74 proxy: {

http://lada.wald.intevation.org