comparison app/model/Probe.js @ 926:c75f13578315

Changed 'Solldatum' fields to readonly fields without default value.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 11 Sep 2015 14:18:52 +0200
parents 9265637fe6c0
children a1783726d43e
comparison
equal deleted inserted replaced
925:81e7c847cb58 926:c75f13578315
102 convert: function(v) { 102 convert: function(v) {
103 if (!v) { 103 if (!v) {
104 return v; 104 return v;
105 } 105 }
106 return new Date(v); 106 return new Date(v);
107 }, 107 }
108 defaultValue: new Date()
109 }, { 108 }, {
110 name: 'solldatumEnde', 109 name: 'solldatumEnde',
111 type: 'date', 110 type: 'date',
112 convert: function(v) { 111 convert: function(v) {
113 if (!v) { 112 if (!v) {
114 return v; 113 return v;
115 } 114 }
116 return new Date(v); 115 return new Date(v);
117 }, 116 }
118 defaultValue: new Date()
119 }, { 117 }, {
120 name: 'readonly', 118 name: 'readonly',
121 type: 'boolean', 119 type: 'boolean',
122 persist: false 120 persist: false
123 }, { 121 }, {

http://lada.wald.intevation.org