Mercurial > lada > lada-client
comparison app/controller/MKommentare.js @ 499:8b4ec61c5752
Removed most log messages to make the application less verbose.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 06 Nov 2014 11:12:21 +0100 |
parents | 7c0653e8d9f7 |
children | 8972f008dfb1 |
comparison
equal
deleted
inserted
replaced
498:c1b77fb96b01 | 499:8b4ec61c5752 |
---|---|
23 models: [ | 23 models: [ |
24 'KommentarM' | 24 'KommentarM' |
25 ], | 25 ], |
26 | 26 |
27 init: function() { | 27 init: function() { |
28 console.log('Initialising the MKommentare controller'); | |
29 this.callParent(arguments); | 28 this.callParent(arguments); |
30 }, | 29 }, |
31 | 30 |
32 addListeners: function() { | 31 addListeners: function() { |
33 this.control({ | 32 this.control({ |
58 model: kommentar | 57 model: kommentar |
59 }); | 58 }); |
60 }, | 59 }, |
61 | 60 |
62 editItem: function(grid, record) { | 61 editItem: function(grid, record) { |
63 console.log('Editing Kommentar'); | |
64 var mstore = Ext.data.StoreManager.get('Messungen'); | 62 var mstore = Ext.data.StoreManager.get('Messungen'); |
65 var messung = mstore.getById(record.get('messungsId')); | 63 var messung = mstore.getById(record.get('messungsId')); |
66 record.getAuthInfo(this.initEditWindow, messung.get('probeId')); | 64 record.getAuthInfo(this.initEditWindow, messung.get('probeId')); |
67 console.log('Loaded MKommentar with ID ' + record.getId()); | |
68 }, | 65 }, |
69 | 66 |
70 initEditWindow: function(record, readonly) { | 67 initEditWindow: function(record, readonly) { |
71 var view = Ext.widget('mkommentarecreate', { | 68 var view = Ext.widget('mkommentarecreate', { |
72 model: record | 69 model: record |