Don't send notification for 'user' library change

This commit is contained in:
Dan Stillman 2016-03-25 18:46:13 -04:00
parent 15a9fd5494
commit 6e0ef7b625

View file

@ -461,7 +461,9 @@ Zotero.Library.prototype._saveData = Zotero.Promise.coroutine(function* (env) {
// Since these are Zotero.Library properties, the 'modify' for the inheriting object may not
// get triggered, so call it here too
Zotero.Notifier.queue('modify', this.libraryType, this.libraryTypeID);
if (this.libraryType != 'user') {
Zotero.Notifier.queue('modify', this.libraryType, this.libraryTypeID);
}
} else {
Zotero.debug("Library data did not change for " + this._objectType + " " + this.id, 5);
}