mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Only refresh info if editing_node not null
This commit is contained in:
parent
325600ea61
commit
e403924d2b
@ -274,7 +274,9 @@ RED.editor = function() {
|
||||
}
|
||||
$( this ).dialog('option','height','auto');
|
||||
$( this ).dialog('option','width','500');
|
||||
RED.sidebar.info.refresh(editing_node);
|
||||
if (editing_node) {
|
||||
RED.sidebar.info.refresh(editing_node);
|
||||
}
|
||||
RED.sidebar.config.refresh();
|
||||
editing_node = null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user