public inbox for [email protected]  
help / color / mirror / Atom feed
From: Aditya Toshniwal <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [pgAdmin][RM4169] Multiple Geometry Viewer issue
Date: Thu, 30 May 2019 17:05:35 +0530
Message-ID: <CAM9w-_kT_JCvor0hNR5iWqY2_AaB7G-3MLaAnSVHg08eHOuuxg@mail.gmail.com> (raw)

Hi Hackers,

Attached is a tiny patch to fix the issue where geometry viewer is already
open on opening a new query tool. Excluded geometry viewer panel from
layout saving.

-- 
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"


Attachments:

  [application/octet-stream] RM4169.patch (545B, 3-RM4169.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 ca77b8e8..9442595b 100644
--- a/web/pgadmin/tools/sqleditor/static/js/sqleditor.js
+++ b/web/pgadmin/tools/sqleditor/static/js/sqleditor.js
@@ -276,6 +276,7 @@ define('tools.querytool', [
         height: '100%',
         isCloseable: true,
         isPrivate: true,
+        isLayoutMember: false,
         content: '<div id ="geometry_viewer_panel" class="sql-editor-geometry-viewer" tabindex: "0"></div>',
       });
 


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][RM4169] Multiple Geometry Viewer issue
  In-Reply-To: <CAM9w-_kT_JCvor0hNR5iWqY2_AaB7G-3MLaAnSVHg08eHOuuxg@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