diff app/controller/Messungen.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 83a98b61546a
line wrap: on
line diff
--- a/app/controller/Messungen.js	Thu Nov 06 10:59:03 2014 +0100
+++ b/app/controller/Messungen.js	Thu Nov 06 11:12:21 2014 +0100
@@ -26,7 +26,6 @@
     ],
 
     init: function() {
-        console.log('Initialising the Messungen controller');
         this.callParent();
     },
 
@@ -59,13 +58,11 @@
     },
 
     saveItem: function(button) {
-        console.log('Saving new Messung for Probe ' + button.probeId);
         var form = button.up('window').down('form');
         form.commit();
     },
 
     addItem: function(button) {
-        console.log('Adding new Messung for Probe ' + button.probeId);
         var messung = Ext.create('Lada.model.Messung');
         messung.set('probeId', button.probeId);
         Ext.widget('messungencreate', {
@@ -74,7 +71,6 @@
     },
 
     editItem: function(grid, record) {
-        console.log('Editing Messung');
         var kstore = this.getKommentareMStore();
         kstore.load({
             params: {
@@ -97,7 +93,6 @@
             }
         });
         record.getAuthInfo(this.initEditWindow);
-        console.log('Loaded Messung with ID ' + record.getId());
     },
 
     initEditWindow: function(record, readonly, owner) {
@@ -129,10 +124,6 @@
                         store.reload();
                     }
                 });
-                console.log('Deleting Messung');
-            }
-            else {
-                console.log('Cancel Deleting Messung');
             }
         });
     },

http://lada.wald.intevation.org