Enable dialogue help buttons on Language and Foreign Table dialogues. Fixes #2116

This commit is contained in:
Murtuza Zabuawala 2017-06-06 09:52:44 +01:00 committed by Dave Page
parent 0bc9997a95
commit 4b74a5ff35
2 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@ define(
type: 'language', type: 'language',
sqlAlterHelp: 'sql-alterlanguage.html', sqlAlterHelp: 'sql-alterlanguage.html',
sqlCreateHelp: 'sql-createlanguage.html', sqlCreateHelp: 'sql-createlanguage.html',
dialogHelp: '{{ url_for('help.static', filename='language_dialog.html') }}',
label: '{{ _('Language') }}', label: '{{ _('Language') }}',
hasSQL: true, hasSQL: true,
canDrop: true, canDrop: true,

View File

@ -450,6 +450,7 @@ function($, _, S, pgAdmin, pgBrowser, alertify) {
type: 'foreign-table', type: 'foreign-table',
sqlAlterHelp: 'sql-alterforeigntable.html', sqlAlterHelp: 'sql-alterforeigntable.html',
sqlCreateHelp: 'sql-createforeigntable.html', sqlCreateHelp: 'sql-createforeigntable.html',
dialogHelp: '{{ url_for('help.static', filename='foreign_table_dialog.html') }}',
label: '{{ _('Foreign Table') }}', label: '{{ _('Foreign Table') }}',
collection_type: 'coll-foreign-table', collection_type: 'coll-foreign-table',
hasSQL: true, hasSQL: true,