Mercurial > lada > lada-client
diff app/controller/grid/Probenehmer.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 | e79403c3482e |
line wrap: on
line diff
--- a/app/controller/grid/Probenehmer.js Wed Mar 09 15:13:21 2016 +0100 +++ b/app/controller/grid/Probenehmer.js Wed Mar 09 15:38:11 2016 +0100 @@ -141,6 +141,7 @@ var grid = Ext.ComponentQuery.query('probenehmergrid')[0]; if (!record) { grid.down('button[action=delete]').disable(); + return; } if (record.get('readonly') || rowModel.selected.items.length === 0) {