ZU.itemToServerJSON() should ignore empty tags
This commit is contained in:
parent
ad4ded95bb
commit
8b20586ccc
1 changed files with 2 additions and 0 deletions
|
@ -1200,6 +1200,8 @@ Zotero.Utilities = {
|
|||
Zotero.debug("itemToServerJSON: Discarded invalid tag");
|
||||
continue;
|
||||
}
|
||||
} else if(tag === "") {
|
||||
continue;
|
||||
}
|
||||
newTags[j] = {"tag":tag.toString(), "type":1};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue