speed up a bit loading a bookmark from the sidebar.

Fix also a regression: CTRL-click and SHIFT-click load only the selected bookmark.
This commit is contained in:
chanial%noos.fr 2003-01-28 08:21:10 +00:00
Родитель 13fc40ca00
Коммит b6b7ed1ea9
1 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -539,8 +539,7 @@
this.treeBoxObject.view.isContainer(row))
return;
if ((this.clickCount == 1 || modifKey) &&
!this.treeBoxObject.selection.isSelected(row)) {
if (this.clickCount == 2 && modifKey) {
this.treeBoxObject.selection.select(row);
this._selection = this.getTreeSelection();
}
@ -947,7 +946,7 @@
onkeypress="event.preventBubble();"/>
<tree anonid="bookmarks-tree" flex="1" class="plain" hidecolumnpicker="true"
datasources="rdf:bookmarks rdf:internetsearch rdf:files rdf:localsearch" ref="NC:BookmarksRoot" flags="dont-build-content"
onselect="this.parentNode.treeBoxObject.view.selectionChanged();">
onselect="this.parentNode.treeBoxObject.view.selectionChanged();" seltype="single">
<template xmlns:nc="http://home.netscape.com/NC-rdf#">
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
<treechildren>