mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Track context sidebar element paths to track formatting changes
Fixes #2460
This commit is contained in:
parent
f76edf74f9
commit
569b9f3d06
@ -231,7 +231,8 @@ RED.sidebar.context = (function() {
|
|||||||
RED.utils.createObjectElement(RED.utils.decodeObject(payload,format), {
|
RED.utils.createObjectElement(RED.utils.decodeObject(payload,format), {
|
||||||
typeHint: data.format,
|
typeHint: data.format,
|
||||||
sourceId: id+"."+k,
|
sourceId: id+"."+k,
|
||||||
tools: tools
|
tools: tools,
|
||||||
|
path: ""
|
||||||
}).appendTo(propRow.children()[1]);
|
}).appendTo(propRow.children()[1]);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -275,7 +276,8 @@ RED.sidebar.context = (function() {
|
|||||||
RED.utils.createObjectElement(RED.utils.decodeObject(payload,format), {
|
RED.utils.createObjectElement(RED.utils.decodeObject(payload,format), {
|
||||||
typeHint: data.format,
|
typeHint: data.format,
|
||||||
sourceId: id+"."+k,
|
sourceId: id+"."+k,
|
||||||
tools: tools
|
tools: tools,
|
||||||
|
path: ""
|
||||||
}).appendTo(propRow.children()[1]);
|
}).appendTo(propRow.children()[1]);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -295,7 +297,8 @@ RED.sidebar.context = (function() {
|
|||||||
RED.utils.createObjectElement(RED.utils.decodeObject(payload,format), {
|
RED.utils.createObjectElement(RED.utils.decodeObject(payload,format), {
|
||||||
typeHint: v.format,
|
typeHint: v.format,
|
||||||
sourceId: id+"."+k,
|
sourceId: id+"."+k,
|
||||||
tools: tools
|
tools: tools,
|
||||||
|
path: ""
|
||||||
}).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…
Reference in New Issue
Block a user