Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Make sure file entries in working set are different (#1971) #1990

Merged
merged 1 commit into from
Oct 30, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/document/DocumentManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,9 @@ define(function (require, exports, module) {
return;
}

// Add
// Add to _workingSet making sure we store a different instance from the
// one in the Document. See issue #1971 for more details.
file = new NativeFileSystem.FileEntry(file.fullPath);
_workingSet.push(file);

// Add to MRU order: either first or last, depending on whether it's already the current doc or not
Expand Down