Fix incorrect isEditable() test in Item::moveToLibrary()
This commit is contained in:
parent
df64a16b55
commit
637acbe693
1 changed files with 1 additions and 1 deletions
|
@ -4598,7 +4598,7 @@ Zotero.Item.prototype.clone = function (libraryID, options = {}) {
|
|||
* @return {Zotero.Item} - New item
|
||||
*/
|
||||
Zotero.Item.prototype.moveToLibrary = async function (libraryID, onSkippedAttachment) {
|
||||
if (!this.isEditable) {
|
||||
if (!this.isEditable()) {
|
||||
throw new Error("Can't move item in read-only library");
|
||||
}
|
||||
var library = Zotero.Libraries.get(libraryID);
|
||||
|
|
Loading…
Add table
Reference in a new issue