Variables should have their own tab on dialogues.

This commit is contained in:
Dave Page 2016-03-10 17:15:58 +00:00
parent 83a662f798
commit 649b719845
2 changed files with 2 additions and 2 deletions

View File

@ -281,7 +281,7 @@ function($, _, S, pgAdmin, pgBrowser, Alertify) {
},{
id: 'variables', label: '{{ _('Variables') }}', type: 'collection',
model: pgAdmin.Browser.Node.VariableModel, editable: false,
group: '{{ _('Security') }}', mode: ['edit', 'create'],
group: '{{ _('Variables') }}', mode: ['edit', 'create'],
canAdd: true, canEdit: false, canDelete: true, hasRole: true,
control: Backform.VariableCollectionControl, node: 'role'
},{

View File

@ -452,7 +452,7 @@ function($, _, S, pgAdmin, pgBrowser, alertify, Backform) {
}
},{
id: 'variables', label: '{{ _('Variables') }}', type: 'collection',
group: '{{ _('Security') }}', hasDatabase: true, url: 'variables',
group: '{{ _('Variables') }}', hasDatabase: true, url: 'variables',
model: pgBrowser.Node.VariableModel, control: 'variable-collection',
mode: [ 'edit', 'create'], canAdd: true, canDelete: true,
url: "variables", disabled: 'readonly'