Author: damoxc
Revision: 4981
Log:
fix clearing the tree in IE
Diff:
Modified: trunk/deluge/ui/web/js/deluge-details.js
===================================================================
--- trunk/deluge/ui/web/js/deluge-details.js 2009-04-02 09:29:37 UTC (rev
4980)
+++ trunk/deluge/ui/web/js/deluge-details.js 2009-04-02 09:33:21 UTC (rev
4981)
@@ -306,6 +306,7 @@
root.cascade(function(node) {
var parent = node.parentNode;
if (!parent) return;
+ if (!parent.ownerTree) return;
parent.removeChild(node);
});
},
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---