зеркало из https://github.com/mozilla/pjs.git
fix for bug #381750: with lots of bookmarks, opening up the bookmark manager dialog is slowr=dietrich
This commit is contained in:
Родитель
2b2aeee632
Коммит
0a49522967
|
@ -41,7 +41,7 @@ const NHRVO = Ci.nsINavHistoryResultViewObserver;
|
|||
|
||||
// XXXmano: we should move most/all of these constants to PlacesUtils
|
||||
const ORGANIZER_ROOT_HISTORY_UNSORTED = "place:beginTime=-2592000000000&beginTimeRef=1&endTime=7200000000&endTimeRef=2&type=1";
|
||||
const ORGANIZER_ROOT_BOOKMARKS = "place:folder=2&group=3&excludeItems=1";
|
||||
const ORGANIZER_ROOT_BOOKMARKS = "place:folder=2&group=3&excludeItems=1&queryType=1";
|
||||
const ORGANIZER_SUBSCRIPTIONS_QUERY = "place:annotation=livemark%2FfeedURI";
|
||||
|
||||
// No change to the view, preserve current selection
|
||||
|
|
|
@ -170,6 +170,9 @@
|
|||
<parameter name="placeURI"/>
|
||||
<body><![CDATA[
|
||||
function findNode(container, placeURI) {
|
||||
if (container.uri == placeURI)
|
||||
return container;
|
||||
|
||||
container.containerOpen = true;
|
||||
for (var i = 0; i < container.childCount; ++i) {
|
||||
var child = container.getChild(i);
|
||||
|
|
Загрузка…
Ссылка в новой задаче