[Lada-commits] [PATCH 1 of 3] Display Time in Proben over Medium

Wald Commits scm-commit at wald.intevation.org
Mon Jul 6 17:02:33 CEST 2015


# HG changeset patch
# User Dustin Demuth <dustin at intevation.de>
# Date 1436194230 -7200
# Node ID bbbccdb103cfaa3f9f9d34fb6b28467d77462a97
# Parent  d054732bc7a2ce129c72498165f040d1c49fc414
Display Time in Proben over Medium

diff -r d054732bc7a2 -r bbbccdb103cf app/view/form/Probe.js
--- 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()
+                        }]
+                    }]
                 }]
             }]
         }];


More information about the Lada-commits mailing list