comparison app/model/Probe.js @ 1234:390dabbf27ed

Empty string for media descriptor is disallowed. This follows server Rev 1ef08710aaeb.
author Tom Gottfried <tom@intevation.de>
date Fri, 28 Oct 2016 21:23:31 +0200
parents eeed1b92341f
children aaab7ca3c040
comparison
equal deleted inserted replaced
1233:a1bbfddb77b9 1234:390dabbf27ed
35 }, { 35 }, {
36 name: 'baId', 36 name: 'baId',
37 }, { 37 }, {
38 name: 'probenartId' 38 name: 'probenartId'
39 }, { 39 }, {
40 name: 'mediaDesk' 40 name: 'mediaDesk',
41 serialize: function(value) {
42 if (value === '') {
43 return null;
44 }
45 return value;
46 }
41 }, { 47 }, {
42 name: 'media' 48 name: 'media'
43 }, { 49 }, {
44 name: 'umwId', 50 name: 'umwId',
45 serialize: function(value) { 51 serialize: function(value) {

http://lada.wald.intevation.org