1
0
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:
Nick O'Leary 2014-02-27 16:28:12 +00:00
parent 325600ea61
commit e403924d2b

View File

@ -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;
}