From 290a984bcd7654e3e29484fd57dd1366c2e57a93 Mon Sep 17 00:00:00 2001 From: "mozilla.mano@sent.com" Date: Thu, 2 Aug 2007 15:52:21 -0700 Subject: [PATCH] Bug 390712 - reloading a live bookmark generates warnings. r=dietirch. --- browser/components/places/content/controller.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/browser/components/places/content/controller.js b/browser/components/places/content/controller.js index e45417c34e8..bca67c420ef 100755 --- a/browser/components/places/content/controller.js +++ b/browser/components/places/content/controller.js @@ -461,7 +461,7 @@ PlacesController.prototype = { * "bookmark" node is a bookamrk * "folder" node is a folder * "query" node is a query - * "remotecontainer" node is a remote container + * "dynamiccontainer" node is a dynamic container * "separator" node is a separator line * "host" node is a host * "mutable" node can have items inserted or reordered @@ -497,16 +497,12 @@ PlacesController.prototype = { case Ci.nsINavHistoryResultNode.RESULT_TYPE_QUERY: nodeData["query"] = true; break; - case Ci.nsINavHistoryResultNode.RESULT_TYPE_REMOTE_CONTAINER: - nodeData["remotecontainer"] = true; + case Ci.nsINavHistoryResultNode.RESULT_TYPE_DYNAMIC_CONTAINER: + nodeData["dynamiccontainer"] = true; break; case Ci.nsINavHistoryResultNode.RESULT_TYPE_FOLDER: nodeData["folder"] = true; uri = PlacesUtils.bookmarks.getFolderURI(node.itemId); - - // See nodeIsRemoteContainer - if (asContainer(node).remoteContainerType != "") - nodeData["remotecontainer"] = true; break; case Ci.nsINavHistoryResultNode.RESULT_TYPE_HOST: nodeData["host"] = true;