Mercurial > lada > lada-client
comparison app/controller/Proben.js @ 51:230bac063b0b
Fixed debug output of the selected probe on doubleclick in grid.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Mon, 27 May 2013 14:59:23 +0200 |
parents | 792c34b3f5a9 |
children | af418743e1f4 |
comparison
equal
deleted
inserted
replaced
50:2fbd53b944fc | 51:230bac063b0b |
---|---|
33 }, | 33 }, |
34 onPanelRendered: function() { | 34 onPanelRendered: function() { |
35 console.log('The panel was rendered'); | 35 console.log('The panel was rendered'); |
36 }, | 36 }, |
37 editProbe: function(grid, record) { | 37 editProbe: function(grid, record) { |
38 console.log('Double click on ' + record.get('name')); | 38 console.log('Double click on ' + record.get('probeId')); |
39 // Create new window to edit the seletced record. | 39 // Create new window to edit the seletced record. |
40 var view = Ext.widget('probenedit'); | 40 var view = Ext.widget('probenedit'); |
41 view.down('form').loadRecord(record); | 41 view.down('form').loadRecord(record); |
42 }, | 42 }, |
43 updateProbe: function(button) { | 43 updateProbe: function(button) { |