aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/CalendarDialog.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/CalendarDialog.js')
-rw-r--r--web/app/view/CalendarDialog.js42
1 files changed, 23 insertions, 19 deletions
diff --git a/web/app/view/CalendarDialog.js b/web/app/view/CalendarDialog.js
index 795c2c62..93c2d429 100644
--- a/web/app/view/CalendarDialog.js
+++ b/web/app/view/CalendarDialog.js
@@ -29,25 +29,29 @@ Ext.define('Traccar.view.CalendarDialog', {
items: {
xtype: 'form',
items: [{
- xtype: 'textfield',
- name: 'name',
- fieldLabel: Strings.sharedName,
- allowBlank: false
- }, {
- xtype: 'filefield',
- name: 'file',
- fieldLabel: Strings.sharedFile,
- allowBlank: false,
- buttonConfig: {
- glyph: 'xf093@FontAwesome',
- text: '',
- tooltip: Strings.sharedSelectFile,
- tooltipType: 'title',
- minWidth: 0
- },
- listeners: {
- change: 'onFileChange'
- }
+ xtype: 'fieldset',
+ title: Strings.sharedRequired,
+ items: [{
+ xtype: 'textfield',
+ name: 'name',
+ fieldLabel: Strings.sharedName,
+ allowBlank: false
+ }, {
+ xtype: 'filefield',
+ name: 'file',
+ fieldLabel: Strings.sharedFile,
+ allowBlank: false,
+ buttonConfig: {
+ glyph: 'xf093@FontAwesome',
+ text: '',
+ tooltip: Strings.sharedSelectFile,
+ tooltipType: 'title',
+ minWidth: 0
+ },
+ listeners: {
+ change: 'onFileChange'
+ }
+ }]
}, {
xtype: 'hiddenfield',
name: 'data',