comparison app/view/messungen/List.js @ 172:cfa0cc437781

Implemented opening a new Messungen form when clicking and the "Add Button" on the Messungen listing.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 03 Jul 2013 16:34:32 +0200
parents c5422819d7b9
children eccf58d3b106
comparison
equal deleted inserted replaced
171:c5422819d7b9 172:cfa0cc437781
8 // minHeight and deferEmptyText are needed to be able to show the 8 // minHeight and deferEmptyText are needed to be able to show the
9 // emptyText message. 9 // emptyText message.
10 minHeight: 35, 10 minHeight: 35,
11 deferEmptyText: false 11 deferEmptyText: false
12 }, 12 },
13 probeId: null,
13 initComponent: function() { 14 initComponent: function() {
14 this.dockedItems = [ 15 this.dockedItems = [
15 { 16 {
16 xtype: 'toolbar', 17 xtype: 'toolbar',
17 dock: 'top', 18 dock: 'top',
18 items: [ 19 items: [
19 { 20 {
20 text: 'Hinzufügen', 21 text: 'Hinzufügen',
21 icon: 'gfx/plus.gif', 22 icon: 'gfx/plus.gif',
22 action: 'add' 23 action: 'add',
24 probeId: this.probeId
23 }, 25 },
24 { 26 {
25 text: 'Löschen', 27 text: 'Löschen',
26 icon: 'gfx/minus.gif', 28 icon: 'gfx/minus.gif',
27 action: 'delete' 29 action: 'delete'

http://lada.wald.intevation.org