commit d205aac0e1dc85018d76b86dd9d6a8673fcd1ee5 parent d128e31467df0f87850b92407ce0c70bf3f49491 Author: Dan Stillman <dstillman@zotero.org> Date: Wed, 24 Apr 2013 16:35:48 -0400 Fix group deleting Diffstat:
| M | chrome/content/zotero/xpcom/sync.js | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js @@ -2664,9 +2664,9 @@ Zotero.Sync.Server.Data = new function() { // Remotely deleted groups var deletedGroups = updatedNode.xpath("deleted/groups"); - if (deletedGroups.length && deletedGroups.textContent) { + if (deletedGroups.length && deletedGroups[0].textContent) { Zotero.debug("Processing remotely deleted groups"); - var groupIDs = deletedGroups.textContent.split(' '); + var groupIDs = deletedGroups[0].textContent.split(' '); Zotero.debug(groupIDs); for each(var groupID in groupIDs) {