diff app/controller/Proben.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 ad7f574b382a
line wrap: on
line diff
--- a/app/controller/Proben.js	Thu Nov 06 10:59:03 2014 +0100
+++ b/app/controller/Proben.js	Thu Nov 06 11:12:21 2014 +0100
@@ -108,7 +108,6 @@
     ],
 
     init: function() {
-        console.log('Initialising the Proben controller');
         this.callParent(arguments);
     },
 
@@ -147,7 +146,6 @@
     },
 
     addItem: function() {
-        console.log('Adding new Probe');
         Ext.widget('probencreate');
     },
 
@@ -156,7 +154,6 @@
      * @private
      */
     selectUploadFile: function() {
-        console.log('Importing');
         Ext.widget('probenimport');
     },
 
@@ -210,7 +207,6 @@
                 value: selection[i].get('probeId')
             });
         }
-        console.log('create download form.');
         var hiddenForm = Ext.create('Ext.form.Panel', {
             title: 'hiddenForm',
             standardSubmit: true,
@@ -225,9 +221,7 @@
     },
 
     editItem: function(grid, record) {
-        console.log('Editing Probe');
         var id = record.get('id');
-        console.log('id is: ' + id);
         // Load Zusatzwerte
         var pstore = Ext.data.StoreManager.get('staProbenzusaetze');
         pstore.load();
@@ -262,7 +256,6 @@
             modelId: id
         });
         view.show();
-        console.log('Loaded Probe with ID ' + record.getId());
     },
 
     createSuccess: function(form, record, response) {
@@ -275,7 +268,6 @@
             store.load({
                 scope: this,
                 callback: function() {
-                    console.log('Loaded store');
                     // Open Editdialog
                     var json = Ext.decode(response.responseText);
                     if (json) {
@@ -290,7 +282,6 @@
             store.reload({
                 scope: this,
                 callback: function() {
-                    console.log('Reloaded store');
                     // Open Editdialog
                     var json = Ext.decode(response.responseText);
                     if (json) {

http://lada.wald.intevation.org