~urbanape/bindwood/subsequent-client

« back to all changes in this revision

Viewing changes to content/bindwood.jsm

  • Committer: zachery.bir at canonical
  • Date: 2010-01-28 17:12:19 UTC
  • Revision ID: zachery.bir@canonical.com-20100128171219-nu0ko92nz8ylbjw3
Need to pass the _id, not the record itself.

Show diffs side-by-side

added added

removed removed

Lines of Context:
557
557
            // is the child a folder?
558
558
            if (remote_child.record_type == Bindwood.TYPE_FOLDER) {
559
559
                // Recurse into the function with remote id and local folder id
560
 
                Bindwood.syncRemoteAndLocal(remote_child, local_child, accum);
 
560
                Bindwood.syncRemoteAndLocal(remote_child._id, local_child, accum);
561
561
            }
562
562
        }
563
563