diff app/controller/grid/Datensatzerzeuger.js @ 1081:5e9a674d7bb4

Added Icon-column to stammdaten grid showing RW-status.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 13 Apr 2016 18:41:47 +0200
parents 1c86a259c2ac
children 01bcca98ae8f
line wrap: on
line diff
--- a/app/controller/grid/Datensatzerzeuger.js	Wed Apr 13 16:10:25 2016 +0200
+++ b/app/controller/grid/Datensatzerzeuger.js	Wed Apr 13 18:41:47 2016 +0200
@@ -48,13 +48,14 @@
         }
     },
 
-    edit: function() {
+    edit: function(gridView, record) {
         var grid = Ext.ComponentQuery.query('datensatzerzeugergrid')[0];
         if (!Ext.Array.contains(Lada.netzbetreiber,
             record.get('netzbetreiberId'))) {
             grid.rowEditing.cancelEdit();
             return;
         }
+        grid.rowEditing.startEdit(record, 0);
         grid.down('button[action=delete]').disable();
     },
 

http://lada.wald.intevation.org