From 6d4437da7c82cb71d4a4c27ffbd40c46ac720ea4 Mon Sep 17 00:00:00 2001 From: "Julia.Radzhabova" Date: Fri, 4 Jul 2025 15:18:31 +0300 Subject: [PATCH] Hide autoupdating external links in DE/PE --- apps/common/main/lib/view/ExternalLinksDlg.js | 5 ++++- apps/documenteditor/main/locale/en.json | 1 + apps/presentationeditor/main/locale/en.json | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/common/main/lib/view/ExternalLinksDlg.js b/apps/common/main/lib/view/ExternalLinksDlg.js index d46aeb5c80..03d13a96da 100644 --- a/apps/common/main/lib/view/ExternalLinksDlg.js +++ b/apps/common/main/lib/view/ExternalLinksDlg.js @@ -217,7 +217,10 @@ define([ _setDefaults: function (props) { this.refreshList(); - this.api && this.chUpdate.setValue(this.api.asc_getUpdateLinks(), true); + if (!window.SSE) + this.chUpdate.setVisible(false); + else if (this.api) + this.chUpdate.setValue(this.api.asc_getUpdateLinks(), true); }, refreshList: function() { diff --git a/apps/documenteditor/main/locale/en.json b/apps/documenteditor/main/locale/en.json index 6e10b25823..0231d6275d 100644 --- a/apps/documenteditor/main/locale/en.json +++ b/apps/documenteditor/main/locale/en.json @@ -574,6 +574,7 @@ "Common.Views.ExternalLinksDlg.textUpdateAll": "Update all", "Common.Views.ExternalLinksDlg.textUpdating": "Updating...", "Common.Views.ExternalLinksDlg.txtTitle": "External links", + "Common.Views.ExternalLinksDlg.textAutoUpdate": "Automatically update data from the linked sources", "Common.Views.ExternalMergeEditor.textTitle": "Mail merge recipients", "Common.Views.ExternalOleEditor.textTitle": "Spreadsheet Editor", "Common.Views.FormatSettingsDialog.textCategory": "Category", diff --git a/apps/presentationeditor/main/locale/en.json b/apps/presentationeditor/main/locale/en.json index e9d5043245..26a8cfef8e 100644 --- a/apps/presentationeditor/main/locale/en.json +++ b/apps/presentationeditor/main/locale/en.json @@ -665,6 +665,7 @@ "Common.Views.ExternalLinksDlg.textUpdateAll": "Update all", "Common.Views.ExternalLinksDlg.textUpdating": "Updating...", "Common.Views.ExternalLinksDlg.txtTitle": "External links", + "Common.Views.ExternalLinksDlg.textAutoUpdate": "Automatically update data from the linked sources", "Common.Views.ExternalOleEditor.textTitle": "Spreadsheet Editor", "Common.Views.FormatSettingsDialog.textCategory": "Category", "Common.Views.FormatSettingsDialog.textDecimal": "Decimal",