comparison app/model/Ort.js @ 1253:2caaaa690e17

Empty string is not a valid ozId.
author Tom Gottfried <tom@intevation.de>
date Fri, 18 Nov 2016 13:25:12 +0100
parents 143ab8fa13dc
children faecbb446a04
comparison
equal deleted inserted replaced
1252:5db7e8abfd61 1253:2caaaa690e17
29 }, { 29 }, {
30 name: 'staatId' 30 name: 'staatId'
31 }, { 31 }, {
32 name: 'kdaId' 32 name: 'kdaId'
33 }, { 33 }, {
34 name: 'ozId' 34 name: 'ozId',
35 serialize: function(v) {
36 if (v === '') {
37 return null;
38 }
39 return v;
40 }
35 }, { 41 }, {
36 name: 'ortTyp' 42 name: 'ortTyp'
37 }, { 43 }, {
38 name: 'mpArt' 44 name: 'mpArt'
39 }, { 45 }, {

http://lada.wald.intevation.org