changeset 1410:0e081a9badbc release-2.5

Use 'statusKombi'-attribute to set delete button status.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 24 Mar 2017 12:03:44 +0100
parents 9712170c5150
children e749d09fafca
files app/view/grid/Messung.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/grid/Messung.js	Mon Mar 20 15:20:20 2017 +0100
+++ b/app/view/grid/Messung.js	Fri Mar 24 12:03:44 2017 +0100
@@ -310,7 +310,7 @@
         var grid = this;
         //only enable the remove buttone, when the grid is editable.
         if (! grid.readOnly &&
-            record.get('statusWert') === 0 &&
+            record.get('statusKombi') === 1 &&
             record.get('owner')) {
             grid.down('button[action=delete]').enable();
         }

http://lada.wald.intevation.org