mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Info side putting info text in wrong pane
This commit is contained in:
parent
f6c017176b
commit
ba33b832ba
@ -280,8 +280,7 @@ RED.sidebar.info = (function() {
|
|||||||
if (infoText) {
|
if (infoText) {
|
||||||
setInfoText(infoText);
|
setInfoText(infoText);
|
||||||
}
|
}
|
||||||
|
$(".sidebar-node-info-stack").scrollTop(0);
|
||||||
|
|
||||||
$(".node-info-property-header").click(function(e) {
|
$(".node-info-property-header").click(function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
expandedSections["property"] = !expandedSections["property"];
|
expandedSections["property"] = !expandedSections["property"];
|
||||||
@ -395,10 +394,9 @@ RED.sidebar.info = (function() {
|
|||||||
function set(html,title) {
|
function set(html,title) {
|
||||||
// tips.stop();
|
// tips.stop();
|
||||||
// sections.show();
|
// sections.show();
|
||||||
// nodeSection.container.hide();
|
|
||||||
infoSection.title.text(title||"");
|
|
||||||
refresh(null);
|
refresh(null);
|
||||||
$(infoSection.content).empty();
|
nodeSection.container.hide();
|
||||||
|
infoSection.title.text(title||RED._("sidebar.info.info"));
|
||||||
setInfoText(html);
|
setInfoText(html);
|
||||||
$(".sidebar-node-info-stack").scrollTop(0);
|
$(".sidebar-node-info-stack").scrollTop(0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user