Variable control patch
Variable control patch
Hi,
Please find attached patch for Variable control.id: 'spcoptions', label: 'Variables', type: 'collection', group: "Variables",2] In database tab
model: pgAdmin.Browser.Node.VariableModel, control: 'variable-collection', mode: [ 'edit', 'create'],
canAdd: true, canDelete: true, uniqueCol : ['name'],
variableCol : 'name', url: "getvars",
id: 'spcoptions', label: 'Variables', type: 'collection', group: "Variables",
model: pgAdmin.Browser.Node.VariableModel.extend({hasDatabase:true}), control: 'variable-collection', mode: [ 'edit', 'create'],
canAdd: true, canDelete: true, uniqueCol : ['name','database'],
variableCol : 'name', url: "getvars",
3] In Use roles tab
id: 'spcoptions', label: 'Variables', type: 'collection', group: "Variables",
model: pgAdmin.Browser.Node.VariableModel.extend({hasRole:true}), control: 'variable-collection', mode: [ 'edit', 'create'],
canAdd: true, canDelete: true, uniqueCol : ['name','role'],
variableCol : 'name', url: "getvars",