[Lada-commits] [PATCH] Set default date value GenProbenFromMessprogramm
Wald Commits
scm-commit at wald.intevation.org
Mon Nov 28 08:29:04 CET 2016
# HG changeset patch
# User Evi Huber <ehuber at bfs.de>
# Date 1480318133 -3600
# Node ID 96f9417c105ea312943ddce3c1b67ed816303b0d
# Parent bfdd875cdb5f090cb09943d3affa36d547f8078f
Set default date value GenProbenFromMessprogramm
diff -r bfdd875cdb5f -r 96f9417c105e app/view/widget/DynamicGrid.js
--- a/app/view/widget/DynamicGrid.js Fri Nov 25 13:21:24 2016 +0100
+++ b/app/view/widget/DynamicGrid.js Mon Nov 28 08:28:53 2016 +0100
@@ -123,7 +123,6 @@
},
handler: function(grid, rowIndex, colIndex) {
var rec = grid.getStore().getAt(rowIndex);
- var tooltext = rec.proxy.url;
grid.fireEvent('itemdblclick', grid, rec);
}
});
diff -r bfdd875cdb5f -r 96f9417c105e app/view/window/GenProbenFromMessprogramm.js
--- a/app/view/window/GenProbenFromMessprogramm.js Fri Nov 25 13:21:24 2016 +0100
+++ b/app/view/window/GenProbenFromMessprogramm.js Mon Nov 28 08:28:53 2016 +0100
@@ -123,7 +123,8 @@
width: 200,
name: 'start',
format: 'd.m.Y',
- period: 'start'
+ period: 'start',
+ value: new Date()
}, {
xtype: 'datefield',
fieldLabel: i18n.getMsg('to'),
@@ -132,7 +133,8 @@
width: 200,
name: 'end',
format: 'd.m.Y',
- period: 'end'
+ period: 'end',
+ value: new Date(new Date().getFullYear(), 11, 31)
}]
}];
this.callParent(arguments);
More information about the Lada-commits
mailing list