mirror of
https://github.com/zotero/zotero.git
synced 2026-10-04 02:31:47 +00:00
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
Reference in a new issue