www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 41590741bad91526bfac9e76b33286511b9dec89
parent a0d85c0673cf5e513089a4dffe9ccabcdf027af0
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri, 27 Apr 2018 18:59:11 -0400

Add level: 0 for libraries in target list for connector

Diffstat:
Mchrome/content/zotero/xpcom/connector/server_connector.js | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/connector/server_connector.js b/chrome/content/zotero/xpcom/connector/server_connector.js @@ -1118,7 +1118,8 @@ Zotero.Server.Connector.GetSelectedCollection.prototype = { collections.push( { id: library.treeViewID, - name: library.name + name: library.name, + level: 0 }, ...Zotero.Collections.getByLibrary(library.libraryID, true).map(c => ({ id: c.treeViewID,