commit b0b9e84650dd37f336dcd3b5b7310a93a5718aff parent 3fb2dfe9ac1f926f30924841002a0bb41d6b7576 Author: Dan Stillman <dstillman@zotero.org> Date: Thu, 2 Jun 2016 15:30:26 -0400 Clarify debug output for Zotero.DataObjects.prototype._loadDataTypeInLibrary() Diffstat:
| M | chrome/content/zotero/xpcom/data/dataObjects.js | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/chrome/content/zotero/xpcom/data/dataObjects.js b/chrome/content/zotero/xpcom/data/dataObjects.js @@ -441,10 +441,10 @@ Zotero.DataObjects.prototype._loadDataTypeInLibrary = Zotero.Promise.coroutine(f idSQL = " AND " + this.idColumn + " IN (" + ids.map(id => parseInt(id)).join(", ") + ")"; } - Zotero.debug("Loading " + dataType + Zotero.debug("Loading " + dataType + " for " + (ids - ? " for " + ids.length + " " + (ids.length == 1 ? this._ZDO_object : this._ZDO_objects) - : '') + ? ids.length + " " + (ids.length == 1 ? this._ZDO_object : this._ZDO_objects) + : this._ZDO_objects) + " in " + libraryName); yield this[funcName](libraryID, ids ? ids : [], idSQL);