diff app/view/window/ProbeEdit.js @ 681:f373446325b4

a probe can not be edited when the readonly flag was sent by the server
author Dustin Demuth <dustin@intevation.de>
date Tue, 24 Mar 2015 15:33:11 +0100
parents fdaabab6f4cc
children 69cb367c0a63
line wrap: on
line diff
--- a/app/view/window/ProbeEdit.js	Tue Mar 24 12:15:39 2015 +0100
+++ b/app/view/window/ProbeEdit.js	Tue Mar 24 15:33:11 2015 +0100
@@ -53,7 +53,8 @@
             autoScroll: true,
             items: [{
                 xtype: 'probeform',
-                recordId: this.record.get('id')
+                recordId: this.record.get('id'),
+                readonly: this.record.get('readonly')
              }, {
                 xtype: 'fset',
                 name: 'messungen',

http://lada.wald.intevation.org