Mercurial > lada > lada-client
comparison app/view/grid/MessprogrammeList.js @ 977:56470a075e6e stammdatengrids
Added methods to the controllers to disable/enable buttons in the toolbar when rows are (de)selected
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Thu, 03 Dec 2015 09:26:43 +0100 |
parents | fb99332bb48e |
children | 1df6b6210b42 |
comparison
equal
deleted
inserted
replaced
976:3c770fc7cf19 | 977:56470a075e6e |
---|---|
33 icon: 'resources/img/list-add.png', | 33 icon: 'resources/img/list-add.png', |
34 action: 'addMessprogramm' | 34 action: 'addMessprogramm' |
35 }, { | 35 }, { |
36 text: i18n.getMsg('messprogramme.button.generate'), | 36 text: i18n.getMsg('messprogramme.button.generate'), |
37 icon: 'resources/img/view-time-schedule-insert.png', | 37 icon: 'resources/img/view-time-schedule-insert.png', |
38 action: 'genProbenFromMessprogramm' | 38 action: 'genProbenFromMessprogramm', |
39 disabled: true // disabled on startup, will be enabled by controller if necessary | |
39 }] | 40 }] |
40 }]; | 41 }]; |
41 this.columns = []; | 42 this.columns = []; |
42 this.callParent(arguments); | 43 this.callParent(arguments); |
43 } | 44 } |