Mercurial > lada > lada-client
comparison app/view/widget/Netzbetreiber.js @ 1151:356941a04ba0
Fixed Type error in netzbetreiber widget.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 02 Jun 2016 12:30:14 +0200 |
parents | f5cc079cd683 |
children | 287ce20bb1cb |
comparison
equal
deleted
inserted
replaced
1146:645f888e34be | 1151:356941a04ba0 |
---|---|
37 this.callParent(arguments); | 37 this.callParent(arguments); |
38 }, | 38 }, |
39 | 39 |
40 getValue: function() { | 40 getValue: function() { |
41 var value = this.down('combobox').getValue(); | 41 var value = this.down('combobox').getValue(); |
42 if (value === undefined || value === null || value === '') { | |
43 return []; | |
44 } | |
42 if (value instanceof Array) { | 45 if (value instanceof Array) { |
43 return value; | 46 return value; |
44 } | 47 } |
45 value = value.trim().split(' '); | 48 value = value.trim().split(' '); |
46 var retValues = []; | 49 var retValues = []; |