www

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

commit efba47c0dffca0f6c7dcd500fe9a55fe79c3ab88
parent 193d205ca889eb43608f97ff542e3fefe63562a5
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sat, 10 Oct 2009 05:48:46 +0000

More debug output


Diffstat:
Mchrome/content/zotero/xpcom/sync.js | 9++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js @@ -2420,8 +2420,13 @@ Zotero.Sync.Server.Data = new function() { creators = creators.concat(remoteCreators); for each(var creator in creators) { var r = remoteCreatorStore[Zotero.Creators.getLibraryKeyHash(creator.ref)]; + Zotero.debug('============='); + Zotero.debug(Zotero.Creators.getLibraryKeyHash(creator.ref)); + Zotero.debug(r); + Zotero.debug(creator.ref); // Doesn't include dateModified if (r && !r.equals(creator.ref)) { + Zotero.debug("CREATORS CHANGED!"); creatorsChanged = true; break; } @@ -2476,6 +2481,7 @@ Zotero.Sync.Server.Data = new function() { // TODO: order reconcile by parent/child? if (!skipCR) { + Zotero.debug("ADDING " + type + " TO CR"); toReconcile.push([ obj, remoteObj @@ -3190,9 +3196,6 @@ Zotero.Sync.Server.Data = new function() { * @param {Array[]} objectPairs Array of arrays of pairs of Item, Collection, etc. */ function _reconcile(type, objectPairs, changedCreators) { - Zotero.debug('=================================='); - Zotero.debug(objectPairs); - Zotero.debug(changedCreators); var io = { dataIn: { type: type,