diff app/view/form/Probe.js @ 838:bbbccdb103cf

Display Time in Proben over Medium
author Dustin Demuth <dustin@intevation.de>
date Mon, 06 Jul 2015 16:50:30 +0200
parents 1321efe444f0
children 95d40ca7bb70
line wrap: on
line diff
--- a/app/view/form/Probe.js	Mon Jul 06 16:43:08 2015 +0200
+++ b/app/view/form/Probe.js	Mon Jul 06 16:50:30 2015 +0200
@@ -159,69 +159,6 @@
                         }]
                     }]
                 }, {
-                    // Medium
-                    xtype: 'fieldset',
-                    title: 'Medium',
-                    items: [{
-                        border: 0,
-                        layout: {
-                            type: 'vbox',
-                            align: 'stretch'
-                        },
-                        width: '100%',
-                        items: [{
-                            xtype: 'textfield',
-                            name: 'media',
-                            labelWidth: 125,
-                            fieldLabel: 'Medienbezeichnung',
-                            listeners: {
-                                dirtychange: {
-                                    fn: this.updateOnChange,
-                                    scope: me
-                                }
-                            }
-                        }, {
-                            xtype: 'tfield',
-                            maxLength: 38,
-                            enforceMaxLength: true,
-                            name: 'mediaDesk',
-                            labelWidth: 125,
-                            fieldLabel: 'Deskriptoren',
-                            regex: new RegExp('(?:D: ){1}(?:[0-9]{2} ){11}[0-9]{2}'),
-                            regexText: 'Die Deskriptoren haben das falsche Format.<br />'+
-                            'Richtig wäre: D: 99 99 99 99 99 99 99 99 99 99 99 99',
-                            listeners: {
-                                dirtychange: {
-                                    fn: this.updateOnChange,
-                                    scope: me
-                                }
-                            }
-                        }, {
-                            xtype: 'umwelt',
-                            name: 'umwId',
-                            fieldLabel: 'Umweltbereich',
-                            labelWidth: 125,
-                            allowBlank: false,
-                            editable: true,
-                            listeners: {
-                                dirtychange: {
-                                    fn: this.updateOnChange,
-                                    scope: me
-                                }
-                            }
-                        }, {
-                            xtype: 'fieldset',
-                            title: 'Details Deskriptoren',
-                            collapsible: true,
-                            collapsed: true,
-                            layout: {
-                                type: 'table',
-                                columns: 3
-                            },
-                            items: this.buildDescriptors()
-                        }]
-                    }]
-                }, {
                     // Zeit
                     xtype: 'fieldset',
                     title: 'Zeit',
@@ -287,6 +224,69 @@
                             period: 'end'
                         }]
                     }]
+                }, {
+                    // Medium
+                    xtype: 'fieldset',
+                    title: 'Medium',
+                    items: [{
+                        border: 0,
+                        layout: {
+                            type: 'vbox',
+                            align: 'stretch'
+                        },
+                        width: '100%',
+                        items: [{
+                            xtype: 'textfield',
+                            name: 'media',
+                            labelWidth: 125,
+                            fieldLabel: 'Medienbezeichnung',
+                            listeners: {
+                                dirtychange: {
+                                    fn: this.updateOnChange,
+                                    scope: me
+                                }
+                            }
+                        }, {
+                            xtype: 'tfield',
+                            maxLength: 38,
+                            enforceMaxLength: true,
+                            name: 'mediaDesk',
+                            labelWidth: 125,
+                            fieldLabel: 'Deskriptoren',
+                            regex: new RegExp('(?:D: ){1}(?:[0-9]{2} ){11}[0-9]{2}'),
+                            regexText: 'Die Deskriptoren haben das falsche Format.<br />'+
+                            'Richtig wäre: D: 99 99 99 99 99 99 99 99 99 99 99 99',
+                            listeners: {
+                                dirtychange: {
+                                    fn: this.updateOnChange,
+                                    scope: me
+                                }
+                            }
+                        }, {
+                            xtype: 'umwelt',
+                            name: 'umwId',
+                            fieldLabel: 'Umweltbereich',
+                            labelWidth: 125,
+                            allowBlank: false,
+                            editable: true,
+                            listeners: {
+                                dirtychange: {
+                                    fn: this.updateOnChange,
+                                    scope: me
+                                }
+                            }
+                        }, {
+                            xtype: 'fieldset',
+                            title: 'Details Deskriptoren',
+                            collapsible: true,
+                            collapsed: true,
+                            layout: {
+                                type: 'table',
+                                columns: 3
+                            },
+                            items: this.buildDescriptors()
+                        }]
+                    }]
                 }]
             }]
         }];

http://lada.wald.intevation.org