aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/dialog/ReportConfig.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-10-06 12:53:13 +0500
committerAbyss777 <abyss@fox5.ru>2017-10-06 12:53:13 +0500
commit45e76cdd0fd2ad2d29cb7cfce17bcf543d96fd60 (patch)
treedb5c251dc1e219a936b2e7f255068edb5d43db5a /web/app/view/dialog/ReportConfig.js
parentdf9b799cbfd51c24158bb16ca5b37105a390a5d3 (diff)
downloadtrackermap-web-45e76cdd0fd2ad2d29cb7cfce17bcf543d96fd60.tar.gz
trackermap-web-45e76cdd0fd2ad2d29cb7cfce17bcf543d96fd60.tar.bz2
trackermap-web-45e76cdd0fd2ad2d29cb7cfce17bcf543d96fd60.zip
Hide date selectors for predefined periods
Diffstat (limited to 'web/app/view/dialog/ReportConfig.js')
-rw-r--r--web/app/view/dialog/ReportConfig.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/web/app/view/dialog/ReportConfig.js b/web/app/view/dialog/ReportConfig.js
index cdf11e1c..67080bf5 100644
--- a/web/app/view/dialog/ReportConfig.js
+++ b/web/app/view/dialog/ReportConfig.js
@@ -75,6 +75,8 @@ Ext.define('Traccar.view.dialog.ReportConfig', {
}, {
xtype: 'fieldcontainer',
layout: 'vbox',
+ reference: 'fromContainer',
+ hidden: true,
fieldLabel: Strings.reportFrom,
items: [{
xtype: 'datefield',
@@ -90,6 +92,8 @@ Ext.define('Traccar.view.dialog.ReportConfig', {
}, {
xtype: 'fieldcontainer',
layout: 'vbox',
+ reference: 'toContainer',
+ hidden: true,
fieldLabel: Strings.reportTo,
items: [{
xtype: 'datefield',
@@ -104,6 +108,7 @@ Ext.define('Traccar.view.dialog.ReportConfig', {
}]
}, {
fieldLabel: Strings.reportPeriod,
+ reference: 'periodField',
xtype: 'combobox',
store: 'ReportPeriods',
editable: false,