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 #4351 from adobe/bchin/issue-4344
Browse files Browse the repository at this point in the history
Fix for Issue #4344- "Selecting Refresh right after creating a new file using context menu breaks New File and New Folder in context menu"
  • Loading branch information
gruehle committed Jul 15, 2013
2 parents 6a65fdb + 2456742 commit 73447e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/project/ProjectManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -826,6 +826,8 @@ define(function (require, exports, module) {
*/

function _loadProject(rootPath, isUpdating) {
forceFinishRename(); // in case we're in the middle of renaming a file in the project

if (!isUpdating) {
if (_projectRoot && _projectRoot.fullPath === rootPath + "/") {
return (new $.Deferred()).resolve().promise();
Expand Down

0 comments on commit 73447e4

Please sign in to comment.