public inbox for [email protected]help / color / mirror / Atom feed
pgAdmin 4 commit: Refresh the SQL control, whenever necessary. 2+ messages / 1 participants [nested] [flat]
* pgAdmin 4 commit: Refresh the SQL control, whenever necessary. @ 2016-04-22 09:55 Ashesh Vashi <[email protected]> 0 siblings, 0 replies; 2+ messages in thread From: Ashesh Vashi @ 2016-04-22 09:55 UTC (permalink / raw) To: pgadmin-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 ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgAdmin 4 commit: Refresh the SQL control, whenever necessary. @ 2016-04-22 10:00 Ashesh Vashi <[email protected]> 0 siblings, 0 replies; 2+ messages in thread From: Ashesh Vashi @ 2016-04-22 10:00 UTC (permalink / raw) To: pgadmin-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 becomes visible, we will refresh the control. Branch ------ master Details ------- http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=085ce50545e06c94087f1979e45673b136726... 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 ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2016-04-22 10:00 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2016-04-22 09:55 pgAdmin 4 commit: Refresh the SQL control, whenever necessary. Ashesh Vashi <[email protected]> 2016-04-22 10:00 pgAdmin 4 commit: Refresh the SQL control, whenever necessary. Ashesh Vashi <[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