mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-09 23:15:58 -06:00
Fixes an issue in the backform schema generation logic to allow to use
the NodeAjaxOptionsControl in the subnode grid.
This commit is contained in:
parent
8a06d5bd54
commit
e90fef7b5b
@ -540,8 +540,8 @@
|
||||
});
|
||||
|
||||
var generateGridColumnsFromModel = Backform.generateGridColumnsFromModel =
|
||||
function(node_info, m, type, cols) {
|
||||
var groups = Backform.generateViewSchema(node_info, m, type, null, true),
|
||||
function(node_info, m, type, cols, node) {
|
||||
var groups = Backform.generateViewSchema(node_info, m, type, node, true, true),
|
||||
schema = [],
|
||||
columns = [],
|
||||
func,
|
||||
@ -979,7 +979,7 @@
|
||||
|
||||
var subnode = data.subnode.schema ? data.subnode : data.subnode.prototype,
|
||||
gridSchema = Backform.generateGridColumnsFromModel(
|
||||
data.node_info, subnode, this.field.get('mode'), data.columns
|
||||
data.node_info, subnode, this.field.get('mode'), data.columns, data.schema_node
|
||||
), self = this,
|
||||
pgBrowser = window.pgAdmin.Browser;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user