comparison app/model/Status.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
38 }, 38 },
39 defaultValue: new Date() 39 defaultValue: new Date()
40 }, { 40 }, {
41 name: 'skommentar' 41 name: 'skommentar'
42 }, { 42 }, {
43 name: 'treeModified' 43 name: 'treeModified',
44 serialize: function(value) {
45 if (value === '') {
46 return null;
47 }
48 return value;
49 }
50 }, {
51 name: 'parentModified',
52 serialize: function(value) {
53 if (value === '') {
54 return null;
55 }
56 return value;
57 }
44 }], 58 }],
45 59
46 idProperty: 'id', 60 idProperty: 'id',
47 61
48 proxy: { 62 proxy: {

http://lada.wald.intevation.org