Subject: [pgAdmin4][PATCH] To enable dialog help option for Language and Foreign table node

From: Murtuza Zabuawala <[email-masked]>
Date: Wed, 31 May 2017 11:56:31 +0530

Hi,

PFA minor patch to enable dialog help option for Language and Foreign table
node.
RM#2116

--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
diff --git a/web/pgadmin/browser/server_groups/servers/databases/languages/templates/languages/js/languages.js b/web/pgadmin/browser/server_groups/servers/databases/languages/templates/languages/js/languages.js
index e55c1ab..4340b9e 100644
--- a/web/pgadmin/browser/server_groups/servers/databases/languages/templates/languages/js/languages.js
+++ b/web/pgadmin/browser/server_groups/servers/databases/languages/templates/languages/js/languages.js
@@ -21,6 +21,7 @@ define(
       type: 'language',
       sqlAlterHelp: 'sql-alterlanguage.html',
       sqlCreateHelp: 'sql-createlanguage.html',
+      dialogHelp: '{{ url_for('help.static', filename='language_dialog.html') }}',
       label: '{{ _('Language') }}',
       hasSQL:  true,
       canDrop: true,
diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/foreign_tables/templates/foreign_tables/js/foreign_tables.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/foreign_tables/templates/foreign_tables/js/foreign_tables.js
index 5f3dc69..ac8ce5d 100644
--- a/web/pgadmin/browser/server_groups/servers/databases/schemas/foreign_tables/templates/foreign_tables/js/foreign_tables.js
+++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/foreign_tables/templates/foreign_tables/js/foreign_tables.js
@@ -450,6 +450,7 @@ function($, _, S, pgAdmin, pgBrowser, alertify) {
       type: 'foreign-table',
       sqlAlterHelp: 'sql-alterforeigntable.html',
       sqlCreateHelp: 'sql-createforeigntable.html',
+      dialogHelp: '{{ url_for('help.static', filename='foreign_table_dialog.html') }}',
       label: '{{ _('Foreign Table') }}',
       collection_type: 'coll-foreign-table',
       hasSQL: true,

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

---

From: Dave Page <[email-masked]>
Date: Tue, 6 Jun 2017 09:52:58 +0100

Thanks, applied.

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

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