Ticket #1448: dtree.2.js

File dtree.2.js, 447 bytes (added by guest, 9 years ago)

patch

Line 
1Index: plugins/Linker/dTree/dtree.js
2===================================================================
3--- plugins/Linker/dTree/dtree.js       (wersja 1191)
4+++ plugins/Linker/dTree/dtree.js       (kopia robocza)
5@@ -385,7 +385,10 @@
6   {
7     var node = this.aNodes[n];
8     node._ls = ids[node.pid]._ls_is == node.id ? true : false;
9-    node._hc = ids[node.id]._hc;
10+    if(ids[node.id])
11+    {
12+      node._hc = ids[node.id]._hc;
13+    }
14   }
15 };
16