Fix saving to group libraries
This commit is contained in:
parent
b1275032f5
commit
0a33f1fde7
1 changed files with 1 additions and 10 deletions
|
@ -1910,16 +1910,7 @@ var ZoteroPane = new function()
|
|||
|
||||
this.getSelectedLibraryID = function () {
|
||||
var itemGroup = this.getItemGroup();
|
||||
var groupID = this.getSelectedGroup(true);
|
||||
if (groupID) {
|
||||
return groupID;
|
||||
}
|
||||
else if (itemGroup.isWithinGroup()) {
|
||||
return itemGroup.ref.libraryID;
|
||||
}
|
||||
else {
|
||||
return null;
|
||||
}
|
||||
return itemGroup && itemGroup.ref && itemGroup.ref.libraryID ? itemGroup.ref.libraryID : null;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue