Mercurial > lada > lada-client
diff app/controller/grid/Datensatzerzeuger.js @ 1059:fa422d69940c
Fixed button toggle on cancel edit.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 09 Mar 2016 15:38:11 +0100 |
parents | 77e22ad5cc84 |
children | fe5fb960da9d |
line wrap: on
line diff
--- a/app/controller/grid/Datensatzerzeuger.js Wed Mar 09 15:13:21 2016 +0100 +++ b/app/controller/grid/Datensatzerzeuger.js Wed Mar 09 15:38:11 2016 +0100 @@ -142,6 +142,7 @@ var grid = Ext.ComponentQuery.query('datensatzerzeugergrid')[0]; if (!record) { grid.down('button[action=delete]').disable(); + return; } if (record.get('readonly') || rowModel.selected.items.length === 0) {