Mercurial > lada > lada-client
comparison app/view/kommentare/List.js @ 144:7b1140bd8b3d
Re-Added Kommentare
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Mon, 01 Jul 2013 10:15:00 +0200 |
parents | 26863a7af202 |
children | 1e4f0c42369c |
comparison
equal
deleted
inserted
replaced
143:62b757ccdd8f | 144:7b1140bd8b3d |
---|---|
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' |