public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ashesh Vashi <[email protected]>
To: [email protected]
Subject: pgAdmin 4 commit: Refresh the SQL control, whenever necessary.
Date: Fri, 22 Apr 2016 09:55:11 +0000
Message-ID: <[email protected]> (raw)
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgadmin-hackers>

Refresh the SQL control, whenever necessary.
Also, remove the CodeMirror object for better clean up process.

When a SQL control/tab is rendered in a hidden element, it does not render really well. Because - it rely on the height, and width of the container to count the gutten position, and margin, and other elements. Hence - whenever the tab, panel comes in active position, we will refresh the control.

Branch
------
dashboards

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=f9a06d5e01318b2c6f73da4b8856ef480d5c4...

Modified Files
--------------
.../browser/templates/browser/js/browser.js        |  1 +
web/pgadmin/misc/sql/static/js/sql.js              |  3 ++
web/pgadmin/static/js/backform.pgadmin.js          | 53 ++++++++++++++++------
.../tools/debugger/templates/debugger/js/direct.js |  3 +-
4 files changed, 45 insertions(+), 15 deletions(-)


-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


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 4 commit: Refresh the SQL control, whenever necessary.
  In-Reply-To: <[email protected]>

* 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