Show toolbar icon and collections pane while items are loading
Items in a library are now loaded only when a library is clicked on and at sync time. There might be some other areas where they need to be loaded or where this causes problems (e.g., drag and drop, word processor integration).
This commit is contained in:
parent
be335acc65
commit
0469d6506a
7 changed files with 87 additions and 21 deletions
|
@ -53,11 +53,6 @@ var loadZoteroPane = Zotero.Promise.coroutine(function* (win) {
|
|||
Zotero.Prefs.clear('lastViewedFolder');
|
||||
win.ZoteroOverlay.toggleDisplay(true);
|
||||
|
||||
// Hack to wait for pane load to finish. This is the same hack
|
||||
// we use in ZoteroPane.js, so either it's not good enough
|
||||
// there or it should be good enough here.
|
||||
yield Zotero.Promise.delay(52);
|
||||
|
||||
yield waitForItemsLoad(win, 0);
|
||||
|
||||
return win;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue