Merge pull request #3186 from node-red/context-tools-fix

Ensure message tools stay attached to top-level entry in Debug/Context
This commit is contained in:
Nick O'Leary
2021-10-13 14:41:29 +01:00
committed by GitHub

View File

@@ -563,7 +563,8 @@ RED.utils = (function() {
expandPaths: expandPaths, expandPaths: expandPaths,
ontoggle: ontoggle, ontoggle: ontoggle,
exposeApi: exposeApi, exposeApi: exposeApi,
tools: tools // tools: tools // Do not pass tools down as we
// keep them attached to the top-level header
} }
).appendTo(row); ).appendTo(row);
} }
@@ -592,7 +593,8 @@ RED.utils = (function() {
expandPaths: expandPaths, expandPaths: expandPaths,
ontoggle: ontoggle, ontoggle: ontoggle,
exposeApi: exposeApi, exposeApi: exposeApi,
tools: tools // tools: tools // Do not pass tools down as we
// keep them attached to the top-level header
} }
).appendTo(row); ).appendTo(row);
} }
@@ -647,7 +649,8 @@ RED.utils = (function() {
expandPaths: expandPaths, expandPaths: expandPaths,
ontoggle: ontoggle, ontoggle: ontoggle,
exposeApi: exposeApi, exposeApi: exposeApi,
tools: tools // tools: tools // Do not pass tools down as we
// keep them attached to the top-level header
} }
).appendTo(row); ).appendTo(row);
} }