diff app/view/form/Probe.js @ 684:69cb367c0a63

When a Probeform is dirty, all child-grids are made readonly (Row Editing is not disbled correctly). When a Probe is read-only all Child-grid buttons are disabled. When a Probe is ReadOnly probeform is also readonly.
author Dustin Demuth <dustin@intevation.de>
date Wed, 25 Mar 2015 15:04:45 +0100
parents f373446325b4
children 0391425689ed
line wrap: on
line diff
--- a/app/view/form/Probe.js	Wed Mar 25 09:07:20 2015 +0100
+++ b/app/view/form/Probe.js	Wed Mar 25 15:04:45 2015 +0100
@@ -35,7 +35,6 @@
     recordId: null,
 
     trackResetOnLoad: true,
-    readonly: false,
 
     initComponent: function() {
         var me = this;
@@ -288,10 +287,6 @@
             }]
         }];
         this.callParent(arguments);
-
-        if (this.readonly){
-            this.setReadOnly(true);
-        }
     },
 
     setRecord: function(record) {

http://lada.wald.intevation.org