comparison app/view/window/GenProbenFromMessprogramm.js @ 761:975183ab775e

Sending Date as timestamp
author Dustin Demuth <dustin@intevation.de>
date Fri, 08 May 2015 11:49:15 +0200
parents 2e7e1a8bf79f
children 18697326c862
comparison
equal deleted inserted replaced
760:2e7e1a8bf79f 761:975183ab775e
34 }, { 34 }, {
35 text: i18n.getMsg('generateproben'), 35 text: i18n.getMsg('generateproben'),
36 handler: function() { 36 handler: function() {
37 var jsondata = { 37 var jsondata = {
38 id: me.record.id, 38 id: me.record.id,
39 start: me.down('datetime [name=start]').getValue(), 39 start: new Date(me.down('datetime [name=start]').getValue()).valueOf(),
40 end: me.down('datetime [name=end]').getValue() 40 end: new Date(me.down('datetime [name=end]').getValue()).valueOf()
41 }; 41 };
42 42
43 43
44 Ext.Ajax.request({ 44 Ext.Ajax.request({
45 url: '/lada-server/probe/messprogramm', 45 url: '/lada-server/probe/messprogramm',

http://lada.wald.intevation.org