aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-10-06 14:58:59 +0500
committerAbyss777 <abyss@fox5.ru>2017-10-06 14:58:59 +0500
commit8023ed43765dccafebcbb332ab320bc4fc4bb682 (patch)
tree7eaa1775ca82a53882f46fb9042e1be486a68c26
parent45e76cdd0fd2ad2d29cb7cfce17bcf543d96fd60 (diff)
downloadtrackermap-web-8023ed43765dccafebcbb332ab320bc4fc4bb682.tar.gz
trackermap-web-8023ed43765dccafebcbb332ab320bc4fc4bb682.tar.bz2
trackermap-web-8023ed43765dccafebcbb332ab320bc4fc4bb682.zip
Move period selector before from field
-rw-r--r--web/app/view/dialog/ReportConfig.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/web/app/view/dialog/ReportConfig.js b/web/app/view/dialog/ReportConfig.js
index 67080bf5..35cc95b4 100644
--- a/web/app/view/dialog/ReportConfig.js
+++ b/web/app/view/dialog/ReportConfig.js
@@ -73,6 +73,18 @@ Ext.define('Traccar.view.dialog.ReportConfig', {
uncheckedValue: false,
value: false
}, {
+ fieldLabel: Strings.reportPeriod,
+ reference: 'periodField',
+ xtype: 'combobox',
+ store: 'ReportPeriods',
+ editable: false,
+ valueField: 'key',
+ displayField: 'name',
+ queryMode: 'local',
+ listeners: {
+ change: 'onPeriodChange'
+ }
+ }, {
xtype: 'fieldcontainer',
layout: 'vbox',
reference: 'fromContainer',
@@ -106,18 +118,6 @@ Ext.define('Traccar.view.dialog.ReportConfig', {
reference: 'toTimeField',
value: new Date()
}]
- }, {
- fieldLabel: Strings.reportPeriod,
- reference: 'periodField',
- xtype: 'combobox',
- store: 'ReportPeriods',
- editable: false,
- valueField: 'key',
- displayField: 'name',
- queryMode: 'local',
- listeners: {
- change: 'onPeriodChange'
- }
}],
buttons: [{