public inbox for [email protected]  
help / color / mirror / Atom feed
From: Pradip Parkale <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [pgAdmin][RM6443]: File Dialog shows incorrect files for selected file type
Date: Thu, 13 May 2021 12:47:32 +0530
Message-ID: <CAJ9T6Svp2hcztL4VhMqpt1WDVfvTRwreQkcvm_0hJW7xpSde9w@mail.gmail.com> (raw)

Hi Hackers,

Please find the attached patch for #6443 File Dialog shows incorrect files
for the selected file type.

-- 
Thanks & Regards,
Pradip Parkale
Software Engineer | EnterpriseDB Corporation


Attachments:

  [application/octet-stream] RM6443.patch (657B, 3-RM6443.patch)
  download | inline diff:
diff --git a/web/pgadmin/tools/sqleditor/static/js/sqleditor.js b/web/pgadmin/tools/sqleditor/static/js/sqleditor.js
index a169a98c2..a25c00043 100644
--- a/web/pgadmin/tools/sqleditor/static/js/sqleditor.js
+++ b/web/pgadmin/tools/sqleditor/static/js/sqleditor.js
@@ -3847,7 +3847,7 @@ define('tools.querytool', [
       // Open FileManager
       _open_select_file_manager: function() {
         var params = {
-          'supported_types': ['sql'], // file types allowed
+          'supported_types': ['*', 'sql'], // file types allowed
           'dialog_type': 'select_file', // open select file dialog
         };
         pgAdmin.FileManager.init();


view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: [pgAdmin][RM6443]: File Dialog shows incorrect files for selected file type
  In-Reply-To: <CAJ9T6Svp2hcztL4VhMqpt1WDVfvTRwreQkcvm_0hJW7xpSde9w@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox