Mercurial > lada > lada-client
comparison app.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 | 10959fe61092 |
comparison
equal
deleted
inserted
replaced
498:c1b77fb96b01 | 499:8b4ec61c5752 |
---|---|
53 // file which sets ob the viewport. | 53 // file which sets ob the viewport. |
54 autoCreateViewport: true, | 54 autoCreateViewport: true, |
55 | 55 |
56 // Start the application. | 56 // Start the application. |
57 launch: function() { | 57 launch: function() { |
58 console.log('Launching the application'); | |
59 Ext.create('Lada.store.StaDatenbasen', { | 58 Ext.create('Lada.store.StaDatenbasen', { |
60 storeId: 'staDatenbasen' | 59 storeId: 'staDatenbasen' |
61 }); | 60 }); |
62 Ext.create('Lada.store.StaMesseinheiten', { | 61 Ext.create('Lada.store.StaMesseinheiten', { |
63 storeId: 'staMesseinheiten' | 62 storeId: 'staMesseinheiten' |
113 }); | 112 }); |
114 | 113 |
115 Ext.data.writer.Json.override({ | 114 Ext.data.writer.Json.override({ |
116 getRecordData: function(record) { | 115 getRecordData: function(record) { |
117 if (this.writeEverything || record.writeEverything) { | 116 if (this.writeEverything || record.writeEverything) { |
118 console.log('getRecordData', arguments); | |
119 return record.getAllData(); | 117 return record.getAllData(); |
120 } | 118 } |
121 return this.callOverridden(arguments); | 119 return this.callOverridden(arguments); |
122 } | 120 } |
123 }); | 121 }); |