mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
98c7364924
commit
82677c304e
@ -1630,6 +1630,7 @@ RED.editor = (function() {
|
|||||||
show: function() {
|
show: function() {
|
||||||
if (editing_node) {
|
if (editing_node) {
|
||||||
RED.sidebar.info.refresh(editing_node);
|
RED.sidebar.info.refresh(editing_node);
|
||||||
|
RED.sidebar.help.show(editing_node.type, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1836,6 +1837,7 @@ RED.editor = (function() {
|
|||||||
show: function() {
|
show: function() {
|
||||||
if (editing_config_node) {
|
if (editing_config_node) {
|
||||||
RED.sidebar.info.refresh(editing_config_node);
|
RED.sidebar.info.refresh(editing_config_node);
|
||||||
|
RED.sidebar.help.show(type, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -261,10 +261,12 @@ RED.sidebar.help = (function() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function show(type) {
|
function show(type, bringToFront) {
|
||||||
|
if (bringToFront !== false) {
|
||||||
RED.sidebar.show("help");
|
RED.sidebar.show("help");
|
||||||
|
}
|
||||||
if (type) {
|
if (type) {
|
||||||
hideTOC();
|
// hideTOC();
|
||||||
showHelp(type);
|
showHelp(type);
|
||||||
}
|
}
|
||||||
resizeStack();
|
resizeStack();
|
||||||
|
Loading…
Reference in New Issue
Block a user