comparison app/model/Zusatzwert.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 f73ca04d73a7
comparison
equal deleted inserted replaced
710:f204f30b824a 711:af16a257d5f6
43 } 43 }
44 return new Date(v); 44 return new Date(v);
45 }, 45 },
46 defaultValue: new Date() 46 defaultValue: new Date()
47 }, { 47 }, {
48 name: 'treeModified' 48 name: 'treeModified',
49 serialize: function(value) {
50 if (value === '') {
51 return null;
52 }
53 return value;
54 }
55 }, {
56 name: 'parentModified',
57 serialize: function(value) {
58 if (value === '') {
59 return null;
60 }
61 return value;
62 }
49 }], 63 }],
50 64
51 idProperty: 'id', 65 idProperty: 'id',
52 66
53 proxy: { 67 proxy: {

http://lada.wald.intevation.org