Mercurial > lada > lada-client
diff 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 |
line wrap: on
line diff
--- a/app/view/widget/Netzbetreiber.js Fri May 27 14:52:56 2016 +0200 +++ b/app/view/widget/Netzbetreiber.js Thu Jun 02 12:30:14 2016 +0200 @@ -39,6 +39,9 @@ getValue: function() { var value = this.down('combobox').getValue(); + if (value === undefined || value === null || value === '') { + return []; + } if (value instanceof Array) { return value; }