From a06031e4da59fefd5b9fcae4f4e9706f43947fae Mon Sep 17 00:00:00 2001 From: "sspitzer%mozilla.org" Date: Fri, 20 Jul 2007 04:22:07 +0000 Subject: [PATCH] backing out, tree is closed git-svn-id: svn://10.0.0.236/trunk@230349 18797224-902f-48f8-a5cc-f745e15eee43 --- .../browser/components/places/content/bookmarkProperties.js | 2 +- .../browser/components/places/content/bookmarkProperties.xul | 2 +- mozilla/browser/components/places/content/tree.xml | 5 +---- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/mozilla/browser/components/places/content/bookmarkProperties.js b/mozilla/browser/components/places/content/bookmarkProperties.js index 95c88386009..6b32c35832d 100755 --- a/mozilla/browser/components/places/content/bookmarkProperties.js +++ b/mozilla/browser/components/places/content/bookmarkProperties.js @@ -1022,7 +1022,7 @@ var BookmarkPropertiesPanel = { expander.className = "up"; expander.setAttribute("tooltiptext", expander.getAttribute("tooltiptextup")); - document.documentElement.buttons = "accept,cancel,extra2"; + document.documentElement.buttons = "accept,cancel, extra2"; if (!this._folderTree.treeBoxObject.view.isContainerOpen(0)) this._folderTree.treeBoxObject.view.toggleOpenState(0); diff --git a/mozilla/browser/components/places/content/bookmarkProperties.xul b/mozilla/browser/components/places/content/bookmarkProperties.xul index 8bfe2ec9d7b..e64aaf200fd 100755 --- a/mozilla/browser/components/places/content/bookmarkProperties.xul +++ b/mozilla/browser/components/places/content/bookmarkProperties.xul @@ -164,7 +164,7 @@ persist="height" onselect="BookmarkPropertiesPanel.onFolderTreeSelect();" showRoot="true" - place="place:folder=2&group=3&excludeItems=1&excludeQueries=1&excludeReadOnlyFolders=1&queryType=1" + place="place:folder=2&group=3&excludeItems=1&excludeQueries=1&excludeReadOnlyFolders=1" hidecolumnpicker="true"> diff --git a/mozilla/browser/components/places/content/tree.xml b/mozilla/browser/components/places/content/tree.xml index 5e988f9e407..6afa944165f 100644 --- a/mozilla/browser/components/places/content/tree.xml +++ b/mozilla/browser/components/places/content/tree.xml @@ -439,11 +439,8 @@ // there is no insertion point for history queries // so bail out now and save a lot of work when updating commands var options = asQuery(this.getResult().root).queryOptions; - if (options.queryType == options.QUERY_TYPE_HISTORY) { - NS_ASSERT(this.getResult().root.folderCount == 0, - "wrong queryType, see bug #388860"); + if (options.queryType == options.QUERY_TYPE_HISTORY) return null; - } var orientation = NHRVO.DROP_AFTER; // If there is no selection, insert at the end of the container.