www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 6e0ef7b625a904370169e7f67d18bdfd53b9806f
parent 15a9fd5494f32bb556fd0f8a0ae386e1c0820784
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri, 25 Mar 2016 18:46:13 -0400

Don't send notification for 'user' library change

Diffstat:
Mchrome/content/zotero/xpcom/data/library.js | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/data/library.js b/chrome/content/zotero/xpcom/data/library.js @@ -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); }