diff app/view/window/GenProbenFromMessprogramm.js @ 1113:566976d72ce5

merged.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 17 May 2016 17:13:02 +0200
parents 953b359748bb
children ea5774447e49
line wrap: on
line diff
--- a/app/view/window/GenProbenFromMessprogramm.js	Tue May 17 17:12:33 2016 +0200
+++ b/app/view/window/GenProbenFromMessprogramm.js	Tue May 17 17:13:02 2016 +0200
@@ -50,8 +50,8 @@
             handler: function() {
                 var jsondata = {
                     id: me.record.id,
-                    start: new Date(me.down('datetime [name=start]').getValue()).valueOf(),
-                    end: new Date(me.down('datetime [name=end]').getValue()).valueOf()
+                    start: new Date(me.down('datefield [name=start]').getValue()).valueOf(),
+                    end: new Date(me.down('datefield [name=end]').getValue()).valueOf()
                 };
 
 
@@ -153,22 +153,22 @@
                 layout: 'fit',
                 html: '<p>' + i18n.getMsg('messprogtimeperiod') + '</p>'
             }, {
-                xtype: 'datetime',
+                xtype: 'datefield',
                 fieldLabel: i18n.getMsg('from'),
                 labelWidth: 90,
                 margin: 5,
-                width: 300,
+                width: 200,
                 name: 'start',
-                format: 'd.m.Y H:i',
+                format: 'd.m.Y',
                 period: 'start'
             }, {
-                xtype: 'datetime',
+                xtype: 'datefield',
                 fieldLabel: i18n.getMsg('to'),
                 labelWidth: 90,
                 margin: 5,
-                width: 300,
+                width: 200,
                 name: 'end',
-                format: 'd.m.Y H:i',
+                format: 'd.m.Y',
                 period: 'end'
             }]
         }];

http://lada.wald.intevation.org