changeset 1153:9486001a01ca

merged.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 02 Jun 2016 17:32:59 +0200
parents 7b3ddb7e9641 (diff) 80e7eb414fc8 (current diff)
children 2309b6ffb069
files
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app.js	Thu Jun 02 11:31:24 2016 +0200
+++ b/app.js	Thu Jun 02 17:32:59 2016 +0200
@@ -78,7 +78,7 @@
         Lada.logintime = '';
         Lada.mst = [];
         Lada.netzbetreiber = [];
-        Lada.clientVersion = '2.2-STAMMDATEN';
+        Lada.clientVersion = '2.3';
         Lada.serverVersion = '';
 
         var queryString = document.location.href.split('?')[1];
--- a/app/view/widget/Netzbetreiber.js	Thu Jun 02 11:31:24 2016 +0200
+++ b/app/view/widget/Netzbetreiber.js	Thu Jun 02 17:32:59 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;
         }

http://lada.wald.intevation.org