diff app/view/form/Probe.js @ 1116:92c0fa2f29b0

complete some comboboxes in probe form and messprogramm form
author Michael Stanko <mstanko@bfs.de>
date Thu, 19 May 2016 14:56:43 +0200
parents 9bcd17f7a0ae
children 1be581a403b5
line wrap: on
line diff
--- a/app/view/form/Probe.js	Wed May 18 18:22:33 2016 +0200
+++ b/app/view/form/Probe.js	Thu May 19 14:56:43 2016 +0200
@@ -189,7 +189,6 @@
                             width: '100%',
                             items: [{
                                 xtype: 'probenehmer',
-                                allowDecimals: false,
                                 name: 'probeNehmerId',
                                 fieldLabel: 'Probennehmer',
                                 margin: '0, 5, 5, 5',
@@ -211,7 +210,7 @@
                             name: 'mplId',
                             fieldLabel: 'Messprogramm-Land',
                             margin: '0, 5, 5, 5',
-                            width: '50%',
+                            width: '100%',
                             anchor: '100%',
                             labelWidth: 110
                         }]
@@ -498,6 +497,7 @@
         this.down('datetime[name=probeentnahmeBeginn]').setReadOnly(value);
         this.down('datetime[name=probeentnahmeEnde]').setReadOnly(value);
         this.down('cbox[name=probeNehmerId]').setReadOnly(value);
+        this.down('cbox[name=mplId]').setReadOnly(value);
 
         //Deskriptoren
         for (var i = 0; i < 12; i++) {

http://lada.wald.intevation.org