www

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

commit e2b62580d1ed9a761b7d4fa97ee96a79d8ad503a
parent 3349930483a22448cf9a81322be91fc63dd951e2
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri,  8 May 2015 13:27:28 -0400

Fix errorHandler check in DataObject.save()

Diffstat:
Mchrome/content/zotero/xpcom/data/dataObject.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/data/dataObject.js b/chrome/content/zotero/xpcom/data/dataObject.js @@ -584,7 +584,7 @@ Zotero.DataObject.prototype.save = Zotero.Promise.coroutine(function* (options) Zotero.debug(e2, 1); }) .then(function() { - if (options.errorHandler(e)) { + if (options.errorHandler) { options.errorHandler(e); } else {