public inbox for [email protected]  
help / color / mirror / Atom feed
[pgAdmin][RM4169] Multiple Geometry Viewer issue
2+ messages / 2 participants
[nested] [flat]

* [pgAdmin][RM4169] Multiple Geometry Viewer issue
@ 2019-05-30 11:35  Aditya Toshniwal <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Aditya Toshniwal @ 2019-05-30 11:35 UTC (permalink / raw)
  To: pgadmin-hackers

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>',
       });
 


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [pgAdmin][RM4169] Multiple Geometry Viewer issue
@ 2019-05-30 19:16  Dave Page <[email protected]>
  parent: Aditya Toshniwal <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Dave Page @ 2019-05-30 19:16 UTC (permalink / raw)
  To: Aditya Toshniwal <[email protected]>; +Cc: pgadmin-hackers

Thanks, patch applied.

On Thu, May 30, 2019 at 7:36 AM Aditya Toshniwal <
[email protected]> wrote:

> 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"
>


-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2019-05-30 19:16 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-05-30 11:35 [pgAdmin][RM4169] Multiple Geometry Viewer issue Aditya Toshniwal <[email protected]>
2019-05-30 19:16 ` Dave Page <[email protected]>

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