| Index: Source/devtools/front_end/sources/SourcesPanel.js
|
| diff --git a/Source/devtools/front_end/sources/SourcesPanel.js b/Source/devtools/front_end/sources/SourcesPanel.js
|
| index c6ef72a7275c6eabca64706bf448b90daad3f8d3..1a0d81cd002faff2283cfe500025d2211c56fd43 100644
|
| --- a/Source/devtools/front_end/sources/SourcesPanel.js
|
| +++ b/Source/devtools/front_end/sources/SourcesPanel.js
|
| @@ -890,7 +890,9 @@ WebInspector.SourcesPanel.prototype = {
|
| return;
|
|
|
| var uiSourceCode = /** @type {!WebInspector.UISourceCode} */ (target);
|
| - contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Local modifications\u2026" : "Local Modifications\u2026"), this._showLocalHistory.bind(this, uiSourceCode));
|
| + var project = uiSourceCode.project();
|
| + if (project.type() !== WebInspector.projectTypes.FileSystem)
|
| + contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMenuTitles() ? "Local modifications\u2026" : "Local Modifications\u2026"), this._showLocalHistory.bind(this, uiSourceCode));
|
| this._appendUISourceCodeMappingItems(contextMenu, uiSourceCode);
|
|
|
| if (!event.target.isSelfOrDescendant(this.editorView.sidebarElement())) {
|
|
|