Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
https://bugs.eclipse.org/bugs/show_bug.cgi?id=562626
  • Loading branch information
libingw committed May 1, 2020
1 parent 6b4fea6 commit d8ade8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bundles/org.eclipse.orion.client.ui/web/orion/editorView.js
Expand Up @@ -220,9 +220,9 @@ define([
if (this.viewerID && this.viewerID === "1") {
labelMessage = messages.fileContentsSplit;
}

var metaData = this.inputManager.getFileMetadata();
return {
label: i18nUtil.formatMessage(labelMessage, this.inputManager.getFileMetadata().Name),
label: i18nUtil.formatMessage(labelMessage, metaData ? metaData.Name : ""),
readonly: this.readonly || this.inputManager.getReadOnly(),
singleMode: this.singleMode,
tabSize: prefs.tabSize || 4,
Expand Down

0 comments on commit d8ade8d

Please sign in to comment.