Fixed an issue where file dialog showing incorrect files for the selected file types. Fixes #6443

This commit is contained in:
Pradip Parkale
2021-05-14 12:12:17 +05:30
committed by Akshay Joshi
parent 0bb40de1c4
commit 7ed97eeec4
2 changed files with 2 additions and 1 deletions

View File

@@ -38,3 +38,4 @@ Bug fixes
| `Issue #6416 <https://redmine.postgresql.org/issues/6416>`_ - Added comment column in the properties panel for View and Materialized View collection node. | `Issue #6416 <https://redmine.postgresql.org/issues/6416>`_ - Added comment column in the properties panel for View and Materialized View collection node.
| `Issue #6417 <https://redmine.postgresql.org/issues/6417>`_ - Fixed an issue where query editor is not being closed if the user clicks on the 'Don't Save' button. | `Issue #6417 <https://redmine.postgresql.org/issues/6417>`_ - Fixed an issue where query editor is not being closed if the user clicks on the 'Don't Save' button.
| `Issue #6420 <https://redmine.postgresql.org/issues/6420>`_ - Ensure that pgAdmin4 shut down completely on the Quit command. | `Issue #6420 <https://redmine.postgresql.org/issues/6420>`_ - Ensure that pgAdmin4 shut down completely on the Quit command.
| `Issue #6443 <https://redmine.postgresql.org/issues/6443>`_ - Fixed an issue where file dialog showing incorrect files for the selected file types.

View File

@@ -3847,7 +3847,7 @@ define('tools.querytool', [
// Open FileManager // Open FileManager
_open_select_file_manager: function() { _open_select_file_manager: function() {
var params = { var params = {
'supported_types': ['sql'], // file types allowed 'supported_types': ['*', 'sql'], // file types allowed
'dialog_type': 'select_file', // open select file dialog 'dialog_type': 'select_file', // open select file dialog
}; };
pgAdmin.FileManager.init(); pgAdmin.FileManager.init();