diff app/view/widgets/LadaForm.js @ 87:ee1d1305dcff

Added field for netzbetreiber. Is needed because of FK constraints.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 11 Jun 2013 13:20:27 +0200
parents 079f99229eff
children 819bfedb70de
line wrap: on
line diff
--- a/app/view/widgets/LadaForm.js	Tue Jun 11 11:43:14 2013 +0200
+++ b/app/view/widgets/LadaForm.js	Tue Jun 11 13:20:27 2013 +0200
@@ -21,6 +21,7 @@
     errors: null,
     warnings: null,
     message: null,
+    readonly: false,
 
     initComponent: function() {
 
@@ -111,6 +112,7 @@
         this.errors = this.translateReturnCodes(operation.request.scope.reader.jsonData["errors"]);
         this.warnings = this.translateReturnCodes(operation.request.scope.reader.jsonData["warnings"]);
         this.message = Lada.getApplication().bundle.getMsg(operation.request.scope.reader.jsonData["message"]);
+        //this.setReadOnly(true);
     }
 
 });

http://lada.wald.intevation.org