Bug 382538 - deleting a folder from the root causes favorites to disappear.
diff --git a/bundles/org.eclipse.orion.client.core/web/orion/treetable.js b/bundles/org.eclipse.orion.client.core/web/orion/treetable.js
index dacdb6b..21efc76 100644
--- a/bundles/org.eclipse.orion.client.core/web/orion/treetable.js
+++ b/bundles/org.eclipse.orion.client.core/web/orion/treetable.js
@@ -230,7 +230,7 @@
 			var stop = false;
 			var parentDepth = -1;
 			var toRemove = [];
-			dojo.query(".treeTableRow").forEach(function(row, i) { //$NON-NLS-0$
+			dojo.query(".treeTableRow", this._parent).forEach(function(row, i) { //$NON-NLS-0$
 				if (stop) {
 					return;
 				}