backing out, tree is closed

git-svn-id: svn://10.0.0.236/trunk@230349 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sspitzer%mozilla.org 2007-07-20 04:22:07 +00:00
parent 6d2b86af98
commit a06031e4da
3 changed files with 3 additions and 6 deletions

View File

@ -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);

View File

@ -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">
<treecols>
<treecol id="title" flex="1" primary="true" hideheader="true"/>

View File

@ -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.