Fix error creating new item with tags

This commit is contained in:
Dan Stillman 2015-03-10 01:23:59 -04:00
parent 1c8abf3841
commit 94accba8a0

View file

@ -1527,7 +1527,7 @@ Zotero.Item.prototype._saveData = Zotero.Promise.coroutine(function* (env) {
}
// Tags
if (this._changed.tags) {
if (this._changed.tags && this._previousData.tags) {
let oldTags = this._previousData.tags;
let newTags = this._tags;