Skip to content

Commit

Permalink
Fix Bug 66574
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaRadzhabova committed Feb 19, 2024
1 parent e30723b commit b9a0bad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/common/main/lib/view/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -787,8 +787,7 @@ define([

this.documentCaption = value;
var idx = this.documentCaption.lastIndexOf('.');
if (idx>0)
this.fileExtention = this.documentCaption.substring(idx);
this.fileExtention = idx>0 ? this.documentCaption.substring(idx) : '';
this.isModified && (value += '*');
this.readOnly && (value += ' (' + this.textReadOnly + ')');
if ( $labelDocName ) {
Expand Down

0 comments on commit b9a0bad

Please sign in to comment.