public inbox for [email protected]  
help / color / mirror / Atom feed
From: Nikhil Mohite <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [pgAdmin][RM-6272]: Cannot Change Connection in Query Tool
Date: Wed, 3 Mar 2021 17:40:01 +0530
Message-ID: <CAOBg0AMXh_=FGL+yRNhCeu0USb3ShzQRBoW6+9oHfaVyQWP7FA@mail.gmail.com> (raw)

Hi Hackers,

Please find the attached patch for RM-6272:
<https://redmine.postgresql.org/issues/6272>Cannot Change Connection in
Query Tool.

-- 
*Thanks & Regards,*
*Nikhil Mohite*
*Software Engineer.*
*EDB Postgres* <https://www.enterprisedb.com/;
*Mob.No: +91-7798364578.*


Attachments:

  [application/octet-stream] RM-6272.patch (965B, 3-RM-6272.patch)
  download | inline diff:
diff --git a/web/pgadmin/tools/datagrid/static/js/datagrid_panel_title.js b/web/pgadmin/tools/datagrid/static/js/datagrid_panel_title.js
index 2f7d0eae..1348cc45 100644
--- a/web/pgadmin/tools/datagrid/static/js/datagrid_panel_title.js
+++ b/web/pgadmin/tools/datagrid/static/js/datagrid_panel_title.js
@@ -9,7 +9,6 @@
 
 import {getTreeNodeHierarchyFromIdentifier} from '../../../../static/js/tree/pgadmin_tree_node';
 import gettext from 'sources/gettext';
-import $ from 'jquery';
 
 export function getDatabaseLabel(parentData) {
   return parentData.database ? parentData.database.label
@@ -79,8 +78,6 @@ export function setQueryToolDockerTitle(panel, is_query_tool, panel_title, is_fi
 export function set_renamable_option(panel, is_file) {
   if(is_file || is_file == 'true') {
     panel.renamable(false);
-    $('.conn-info-dd').hide();
-    $('.connection-data').css({pointerEvents: 'none', cursor: 'arrow'});
   } else {
     panel.renamable(true);
   }


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][RM-6272]: Cannot Change Connection in Query Tool
  In-Reply-To: <CAOBg0AMXh_=FGL+yRNhCeu0USb3ShzQRBoW6+9oHfaVyQWP7FA@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