Mercurial > lada > lada-client
comparison app/view/ProbenPlanungSwitcher.js @ 792:d572ee3271ac
some work on a context-sensitive toolbar
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Wed, 13 May 2015 13:00:13 +0200 |
parents | 704bb359c0fe |
children | bc6bc71efb78 |
comparison
equal
deleted
inserted
replaced
791:56f91254cd23 | 792:d572ee3271ac |
---|---|
29 width: '100%', | 29 width: '100%', |
30 items: [{ | 30 items: [{ |
31 xtype: 'radiofield', | 31 xtype: 'radiofield', |
32 name: 'ppswitch', | 32 name: 'ppswitch', |
33 boxLabel: i18n.getMsg('probelist'), | 33 boxLabel: i18n.getMsg('probelist'), |
34 inputValue: 'ProbenList', //this determines the store | 34 inputValue: 'ProbeList', //this determines the store |
35 // which will be loaded, | 35 // which will be loaded, |
36 checked: true, | 36 //checked: true, |
37 handler: function(field, state){ | 37 handler: function(field, state){ |
38 if (state === true) { | 38 if (state === true) { |
39 this.fireEvent('check', field); | 39 this.fireEvent('check', field); |
40 } | 40 } |
41 } | 41 } |
42 },{ | 42 },{ |
43 xtype: 'radiofield', | 43 xtype: 'radiofield', |
44 name: 'ppswitch', | 44 name: 'ppswitch', |
45 boxLabel: i18n.getMsg('probeplanning'), | 45 boxLabel: i18n.getMsg('probeplanning'), |
46 inputValue: 'MessprogrammeList', //name of a store | 46 inputValue: 'MessprogrammList', //name of a store |
47 handler: function(field, state){ | 47 handler: function(field, state){ |
48 if (state === true) { | 48 if (state === true) { |
49 this.fireEvent('check', field); | 49 this.fireEvent('check', field); |
50 } | 50 } |
51 } | 51 } |