Adding backup as a allowed file type in the backup utility file-control

pull/3/head
Ashesh Vashi 2016-05-16 02:19:37 +05:30
parent 63b951baee
commit 38bb45ec86
1 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ TODO LIST FOR BACKUP:
schema: [{
id: 'file', label: '{{ _('Filename') }}',
type: 'text', disabled: false, control: Backform.FileControl,
dialog_type: 'create_file', supp_types: ['*', 'sql']
dialog_type: 'create_file', supp_types: ['*', 'sql', 'backup']
},{
id: 'role', label: '{{ _('Role name') }}',
control: 'node-list-by-name', node: 'role',
@ -114,7 +114,7 @@ TODO LIST FOR BACKUP:
schema: [{
id: 'file', label: '{{ _('Filename') }}',
type: 'text', disabled: false, control: Backform.FileControl,
dialog_type: 'create_file', supp_types: ['*', 'sql']
dialog_type: 'create_file', supp_types: ['*', 'sql', 'backup']
},{
id: 'format', label: '{{ _('Format') }}',
type: 'text', disabled: false,