diff app/controller/grid/Status.js @ 1027:859e2e9859cd

Fixed an issue concerning the selection of status
author Dustin Demuth <dustin@intevation.de>
date Fri, 12 Feb 2016 17:23:21 +0100
parents 2329acae1705
children 8e579acfe0b1
line wrap: on
line diff
--- a/app/controller/grid/Status.js	Fri Feb 12 16:34:28 2016 +0100
+++ b/app/controller/grid/Status.js	Fri Feb 12 17:23:21 2016 +0100
@@ -129,9 +129,8 @@
 
             record.set('id', null);
             if (record.get('statusWert') === 0) {
-                record.set('statusWert', null);
+                record.set('statusWert', '');
             }
-
         } else {
             //create a new one
             var record = Ext.create('Lada.model.Status', {

http://lada.wald.intevation.org