| Index: third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js b/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
|
| index 175379e0b629136ac016d6b3fcdd83996b50407b..b90b2f91393b67c53ce5158aa6763f70769839a5 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
|
| @@ -606,10 +606,9 @@ WebInspector.NavigatorView.prototype = {
|
|
|
| if (project && project.type() === WebInspector.projectTypes.FileSystem) {
|
| contextMenu.appendItem(WebInspector.UIString.capitalize("Refresh"), this._handleContextMenuRefresh.bind(this, project, path));
|
| - if (node instanceof WebInspector.NavigatorFolderTreeNode) {
|
| - contextMenu.appendItem(WebInspector.UIString.capitalize("New ^file"), this._handleContextMenuCreate.bind(this, project, path));
|
| + contextMenu.appendItem(WebInspector.UIString.capitalize("New ^file"), this._handleContextMenuCreate.bind(this, project, path));
|
| + if (node instanceof WebInspector.NavigatorFolderTreeNode)
|
| contextMenu.appendItem(WebInspector.UIString.capitalize("Exclude ^folder"), this._handleContextMenuExclude.bind(this, project, path));
|
| - }
|
| }
|
| contextMenu.appendSeparator();
|
| WebInspector.NavigatorView.appendAddFolderItem(contextMenu);
|
|
|