Mercurial > lada > lada-client
diff app/view/grid/FilterResult.js @ 837:d054732bc7a2
Switch the Mode of the Filterresultgrid according to the selection of the radio buttons in the probenplanungswitcher
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Mon, 06 Jul 2015 16:43:08 +0200 |
parents | d369a7eb0a7f |
children | e44070aa45d2 |
line wrap: on
line diff
--- a/app/view/grid/FilterResult.js Mon Jul 06 10:45:25 2015 +0200 +++ b/app/view/grid/FilterResult.js Mon Jul 06 16:43:08 2015 +0200 @@ -23,13 +23,15 @@ }, initComponent: function() { + var i18n = Lada.getApplication().bundle; + this.dockedItems = [{ xtype: 'toolbar', dock: 'top', items: [{ xtype: 'tbtext', id: 'tbtitle', - text: '', + text: i18n.getMsg('probelist') }, '->', { @@ -41,7 +43,7 @@ text: 'Messprogramm erstellen', icon: 'resources/img/list-add.png', action: 'addMessprogramm', - disabled: false + disabled: true }, '-', {