diff app/view/widgets/LadaForm.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 369917727c86
line wrap: on
line diff
--- a/app/view/widgets/LadaForm.js	Thu Nov 06 10:59:03 2014 +0100
+++ b/app/view/widgets/LadaForm.js	Thu Nov 06 11:12:21 2014 +0100
@@ -114,7 +114,6 @@
                 callback: function(option, success, response) {
                     this.parseResponse(response);
                     if (this.success) {
-                        console.log('Save was successfull');
                         this.fireEvent(
                             'savesuccess',
                             this,
@@ -122,7 +121,6 @@
                             response);
                     }
                     else {
-                        console.log('Save was not successfull');
                         this.form.markInvalid(this.errors);
                         this.fireEvent(
                             'savefailure',
@@ -171,7 +169,6 @@
                 var ignore = false;
                 var k;
                 for (k = ignoreFields.length - 1; k >= 0; k--) {
-                    console.log(ignoreFields[k] + '===' + field.getName());
                     if (ignoreFields[k] === field.getName(true)) {
                         ignore = true;
                     }

http://lada.wald.intevation.org