Skip to content

Commit

Permalink
[SSE] Fix bug 70509
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaRadzhabova committed Oct 14, 2024
1 parent 983995e commit fb21f0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/spreadsheeteditor/main/app/controller/Statusbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,7 @@ define([
supportBooks: supportBooks,
spreadsheetName: me.api.asc_getDocumentName(),
isDesktopApp: me.statusbar.mode.isDesktopApp,
isOffline: me.statusbar.mode.isOffline,
handler : function(result, i, copy, workbook) {
btn = result;
if (btn == 'ok') {
Expand Down
2 changes: 1 addition & 1 deletion apps/spreadsheeteditor/main/app/view/Statusbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,7 @@ define([
changed: false,
opened: false
};
if (this.options.isDesktopApp) {
if (this.options.isDesktopApp && this.options.isOffline) {
this.spreadsheets.data.push({displayValue: this.textCreateNewSpreadsheet, value: 'new', index: -1});
}

Expand Down

0 comments on commit fb21f0f

Please sign in to comment.