mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Various misc fixes:
- Using the 'gettext' as oppose to '_', which is not defined - Define missing variables - Fixed escape character in string with double quote - Removed some dead code in a test case - Removed unnecessary self assignment Includes some fixes for Accessibility improvements - Use semantic markup to mark emphasized or special text - Added hidden legend in <fieldset> for better screen reader support
This commit is contained in:
@@ -365,7 +365,6 @@ class Filemanager(object):
|
||||
if 'supported_types' in params else []
|
||||
if fm_type == 'select_file':
|
||||
capabilities = ['select_file', 'rename', 'upload', 'create']
|
||||
supp_types = supp_types
|
||||
files_only = True
|
||||
folders_only = False
|
||||
title = "Select File"
|
||||
@@ -376,14 +375,12 @@ class Filemanager(object):
|
||||
title = "Select Folder"
|
||||
elif fm_type == 'create_file':
|
||||
capabilities = ['select_file', 'rename', 'create']
|
||||
supp_types = supp_types
|
||||
files_only = True
|
||||
folders_only = False
|
||||
title = "Create File"
|
||||
elif fm_type == 'storage_dialog':
|
||||
capabilities = ['select_folder', 'select_file', 'download',
|
||||
'rename', 'delete', 'upload', 'create']
|
||||
supp_types = supp_types
|
||||
files_only = True
|
||||
folders_only = False
|
||||
title = "Storage Manager"
|
||||
|
||||
Reference in New Issue
Block a user