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

@ -1770,7 +1770,12 @@ var ItemTree = class ItemTree extends LibraryTree {
throw e;
}
}
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
*