diff app/view/form/Location.js @ 852:405810eda690

removed beschreibung field from setReadOnly
author Dustin Demuth <dustin@intevation.de>
date Fri, 10 Jul 2015 10:06:46 +0200
parents dd9b77e2532b
children 6451d095ff4e
line wrap: on
line diff
--- a/app/view/form/Location.js	Wed Jul 08 12:42:19 2015 +0200
+++ b/app/view/form/Location.js	Fri Jul 10 10:06:46 2015 +0200
@@ -143,7 +143,6 @@
      },
 
     clearMessages: function() {
-        this.down('tfield[name=beschreibung]').clearWarningOrError();
         this.down('tfield[name=bezeichnung]').clearWarningOrError();
         this.down('staat[name=staatId]').clearWarningOrError();
         this.down('verwaltungseinheit[name=verwaltungseinheitId]').clearWarningOrError();
@@ -153,7 +152,6 @@
      },
 
     setReadOnly: function(value) {
-        this.down('tfield[name=beschreibung]').setReadOnly(value);
         this.down('tfield[name=bezeichnung]').setReadOnly(value);
         this.down('staat[name=staatId]').setReadOnly(value);
         this.down('verwaltungseinheit[name=verwaltungseinheitId]').setReadOnly(value);

http://lada.wald.intevation.org