Show loading message in middle pane if items loaded after startup

This commit is contained in:
Dan Stillman 2016-04-11 02:29:08 -04:00
parent 5e614e2787
commit 7c3a134107

View file

@ -1220,6 +1220,7 @@ var ZoteroPane = new function()
var library = Zotero.Libraries.get(collectionTreeRow.ref.libraryID);
if (!library.getDataLoaded('item')) {
Zotero.debug("Waiting for items to load for library " + library.libraryID);
ZoteroPane_Local.setItemsPaneMessage(Zotero.getString('pane.items.loading'));
yield library.waitForDataLoad('item');
}