mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #1989 from TothiViseo/diffNodePropertiesOnClick
Speeding up display of diff for large flows
This commit is contained in:
commit
21bf74a467
@ -687,7 +687,6 @@ RED.diff = (function() {
|
||||
diff: remoteDiff
|
||||
}
|
||||
}
|
||||
createNodePropertiesTable(def,node,localNode,remoteNode).appendTo(div);
|
||||
|
||||
var selectState = "";
|
||||
|
||||
@ -707,6 +706,10 @@ RED.diff = (function() {
|
||||
createNodeConflictRadioBoxes(node,div,localNodeDiv,remoteNodeDiv,false,!conflicted,selectState,CurrentDiff);
|
||||
row.click(function(evt) {
|
||||
$(this).parent().toggleClass('collapsed');
|
||||
|
||||
if($(this).siblings('.node-diff-node-entry-properties').length === 0) {
|
||||
createNodePropertiesTable(def,node,localNode,remoteNode).appendTo(div);
|
||||
}
|
||||
});
|
||||
|
||||
return div;
|
||||
|
Loading…
Reference in New Issue
Block a user