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

Commit

Permalink
Merge pull request #1990 from jbalsas/jbalsas/rename-documents-fix
Browse files Browse the repository at this point in the history
Make sure file entries in working set are different (#1971)
  • Loading branch information
gruehle committed Oct 30, 2012
2 parents 82adbfd + 91bfbea commit 6fa52c1
Showing 1 changed file with 3 additions and 1 deletion.
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

0 comments on commit 6fa52c1

Please sign in to comment.