зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
0e4bbaab2d
Коммит
73d9fa0c42
|
@ -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);"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче