Fix group deleting

This commit is contained in:
Dan Stillman 2013-04-24 16:35:48 -04:00
parent d128e31467
commit d205aac0e1

View file

@ -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) {