Mercurial > lada > lada-client
comparison app/controller/Status.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 | 850ccfe5f3c4 |
children | ad7f574b382a |
comparison
equal
deleted
inserted
replaced
498:c1b77fb96b01 | 499:8b4ec61c5752 |
---|---|
16 stores: [ | 16 stores: [ |
17 'Status' | 17 'Status' |
18 ], | 18 ], |
19 | 19 |
20 init: function() { | 20 init: function() { |
21 console.log('Initialising the Status controller'); | |
22 this.callParent(arguments); | 21 this.callParent(arguments); |
23 }, | 22 }, |
24 | 23 |
25 addListeners: function() { | 24 addListeners: function() { |
26 this.control({ | 25 this.control({ |
55 model: zusatzwert | 54 model: zusatzwert |
56 }); | 55 }); |
57 }, | 56 }, |
58 | 57 |
59 editItem: function(grid, record) { | 58 editItem: function(grid, record) { |
60 console.log('Editing Status'); | |
61 var mstore = Ext.data.StoreManager.get('Messungen'); | 59 var mstore = Ext.data.StoreManager.get('Messungen'); |
62 var messung = mstore.getById(record.get('messungsId')); | 60 var messung = mstore.getById(record.get('messungsId')); |
63 record.getAuthInfo(this.initEditWindow, messung.get('probeId')); | 61 record.getAuthInfo(this.initEditWindow, messung.get('probeId')); |
64 console.log("Loaded Status with ID " + record.getId()); //outputs ID | |
65 }, | 62 }, |
66 | 63 |
67 initEditWindow: function(record, readonly, owner) { | 64 initEditWindow: function(record, readonly, owner) { |
68 var view = Ext.widget('statuscreate', { | 65 var view = Ext.widget('statuscreate', { |
69 model: record | 66 model: record |