comparison app/view/messwerte/List.js @ 210:f3a2f985f451

Set parentId to messwert for add button
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 12 Jul 2013 11:49:37 +0200
parents ceb04286152a
children c3c64920b740
comparison
equal deleted inserted replaced
209:a9a7d8abc45e 210:f3a2f985f451
9 // emptyText message. 9 // emptyText message.
10 minHeight: 35, 10 minHeight: 35,
11 deferEmptyText: false 11 deferEmptyText: false
12 }, 12 },
13 probeId: null, 13 probeId: null,
14 parentId: null,
14 initComponent: function() { 15 initComponent: function() {
15 this.dockedItems = [ 16 this.dockedItems = [
16 { 17 {
17 xtype: 'toolbar', 18 xtype: 'toolbar',
18 dock: 'top', 19 dock: 'top',
19 items: [ 20 items: [
20 { 21 {
21 text: 'Hinzufügen', 22 text: 'Hinzufügen',
22 icon: 'gfx/plus.gif', 23 icon: 'gfx/plus.gif',
23 action: 'add', 24 action: 'add',
24 probeId: this.probeId 25 probeId: this.probeId,
26 parentId: this.parentId
25 }, 27 },
26 { 28 {
27 text: 'Löschen', 29 text: 'Löschen',
28 icon: 'gfx/minus.gif', 30 icon: 'gfx/minus.gif',
29 action: 'delete' 31 action: 'delete'

http://lada.wald.intevation.org