Add "dont-test-empty" flag to bookmarks window/panel for tree speed optimization, as well as fix bug with empty folders.

This commit is contained in:
rjc%netscape.com 2000-08-25 09:27:54 +00:00
Родитель 0e4bbaab2d
Коммит 73d9fa0c42
2 изменённых файлов: 2 добавлений и 3 удалений

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

@ -48,8 +48,7 @@
</popupset> </popupset>
<tree id="bookmarksTree" class="bookmarks-panel-tree" context="contextual" ref="NC:BookmarksRoot" <tree id="bookmarksTree" class="bookmarks-panel-tree" context="contextual" ref="NC:BookmarksRoot"
flex="1" flex="1" multiple="true" flags="dont-test-empty"
multiple="true"
ondragover="return DragOverTree(event);" ondragover="return DragOverTree(event);"
ondraggesture="return BeginDragTree(event);" ondraggesture="return BeginDragTree(event);"
ondragdrop="return DropOnTree(event);" ondragdrop="return DropOnTree(event);"

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

@ -184,7 +184,7 @@
<tree id="bookmarksTree" ref="NC:BookmarksRoot" context="contextual" <tree id="bookmarksTree" ref="NC:BookmarksRoot" context="contextual"
datasources="rdf:bookmarks rdf:files rdf:localsearch rdf:internetsearch rdf:httpindex" datasources="rdf:bookmarks rdf:files rdf:localsearch rdf:internetsearch rdf:httpindex"
multiple="true" multiple="true" flags="dont-test-empty"
onselect="bookmarkSelect();" onselect="bookmarkSelect();"
ondragover="return DragOverTree(event);" ondragover="return DragOverTree(event);"
ondraggesture="return BeginDragTree(event);" ondraggesture="return BeginDragTree(event);"