fix clearing the tree in IE

This commit is contained in:
Damien Churchill 2009-04-02 09:33:21 +00:00
parent 29a9253108
commit d3c6bfe91f
1 changed files with 1 additions and 0 deletions

View File

@ -306,6 +306,7 @@ Deluge.Details.Files = {
root.cascade(function(node) {
var parent = node.parentNode;
if (!parent) return;
if (!parent.ownerTree) return;
parent.removeChild(node);
});
},