Restore itemTree::saveSelection()

Deprecated for years, but used by ZotFile
This commit is contained in:
Dan Stillman 2021-08-29 01:41:40 -04:00
parent 8d3adb6f46
commit ba7d0a18aa

View file

@ -1771,6 +1771,11 @@ var ItemTree = class ItemTree extends LibraryTree {
}
}
saveSelection() {
Zotero.debug("ItemTree::saveSelection() is deprecated -- use getSelectedItems(true)");
return this.getSelectedItems(true);
}
/**
* Returns an array of items of visible items in current sort order
*