mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Merge pull request #4527 from node-red/4485-copy-context-path
Include top level property name when copying path from context
This commit is contained in:
commit
f93654f680
@ -232,7 +232,7 @@ RED.sidebar.context = (function() {
|
|||||||
typeHint: data.format,
|
typeHint: data.format,
|
||||||
sourceId: id+"."+k,
|
sourceId: id+"."+k,
|
||||||
tools: tools,
|
tools: tools,
|
||||||
path: ""
|
path: k
|
||||||
}).appendTo(propRow.children()[1]);
|
}).appendTo(propRow.children()[1]);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -278,7 +278,7 @@ RED.sidebar.context = (function() {
|
|||||||
typeHint: data.format,
|
typeHint: data.format,
|
||||||
sourceId: id+"."+k,
|
sourceId: id+"."+k,
|
||||||
tools: tools,
|
tools: tools,
|
||||||
path: ""
|
path: k
|
||||||
}).appendTo(propRow.children()[1]);
|
}).appendTo(propRow.children()[1]);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -299,7 +299,7 @@ RED.sidebar.context = (function() {
|
|||||||
typeHint: v.format,
|
typeHint: v.format,
|
||||||
sourceId: id+"."+k,
|
sourceId: id+"."+k,
|
||||||
tools: tools,
|
tools: tools,
|
||||||
path: ""
|
path: k
|
||||||
}).appendTo(propRow.children()[1]);
|
}).appendTo(propRow.children()[1]);
|
||||||
if (contextStores.length > 1) {
|
if (contextStores.length > 1) {
|
||||||
$("<span>",{class:"red-ui-sidebar-context-property-storename"}).text(v.store).appendTo($(propRow.children()[0]))
|
$("<span>",{class:"red-ui-sidebar-context-property-storename"}).text(v.store).appendTo($(propRow.children()[0]))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user