Mercurial > lada > lada-client
comparison app/model/Messprogramm.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 | 4270da0f7d3b |
children | d1f43f1e7e84 |
comparison
equal
deleted
inserted
replaced
1233:a1bbfddb77b9 | 1234:390dabbf27ed |
---|---|
38 }, { | 38 }, { |
39 name: 'gemId' | 39 name: 'gemId' |
40 }, { | 40 }, { |
41 name: 'ortId' | 41 name: 'ortId' |
42 }, { | 42 }, { |
43 name: 'mediaDesk' | 43 name: 'mediaDesk', |
44 serialize: function(value) { | |
45 if (value === '') { | |
46 return null; | |
47 } | |
48 return value; | |
49 } | |
44 }, { | 50 }, { |
45 name: 'umwId', | 51 name: 'umwId', |
46 serialize: function(value) { | 52 serialize: function(value) { |
47 if (value === '') { | 53 if (value === '') { |
48 return null; | 54 return null; |