From ed1187a2dfea97a81b49b53b9d56969fbf62229b Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 29 Jul 2022 13:44:00 +0300 Subject: [PATCH] Set directUrl --- apps/documenteditor/embed/js/ApplicationController.js | 1 + .../documenteditor/forms/app/controller/ApplicationController.js | 1 + apps/documenteditor/main/app/controller/Main.js | 1 + apps/documenteditor/mobile/src/controller/Main.jsx | 1 + apps/presentationeditor/embed/js/ApplicationController.js | 1 + apps/presentationeditor/main/app.reporter.js | 1 + apps/presentationeditor/main/app/controller/Main.js | 1 + apps/presentationeditor/main/app_dev.reporter.js | 1 + apps/presentationeditor/mobile/src/controller/Main.jsx | 1 + apps/spreadsheeteditor/embed/js/ApplicationController.js | 1 + apps/spreadsheeteditor/main/app/controller/Main.js | 1 + apps/spreadsheeteditor/mobile/src/controller/Main.jsx | 1 + 12 files changed, 12 insertions(+) diff --git a/apps/documenteditor/embed/js/ApplicationController.js b/apps/documenteditor/embed/js/ApplicationController.js index c12e28f0b..ae1d89786 100644 --- a/apps/documenteditor/embed/js/ApplicationController.js +++ b/apps/documenteditor/embed/js/ApplicationController.js @@ -118,6 +118,7 @@ DE.ApplicationController = new(function(){ docInfo.put_Id(docConfig.key); docInfo.put_Url(docConfig.url); + docInfo.put_DirectUrl(docConfig.directUrl); docInfo.put_Title(docConfig.title); docInfo.put_Format(docConfig.fileType); docInfo.put_VKey(docConfig.vkey); diff --git a/apps/documenteditor/forms/app/controller/ApplicationController.js b/apps/documenteditor/forms/app/controller/ApplicationController.js index 504e8a68f..3d3f7d81e 100644 --- a/apps/documenteditor/forms/app/controller/ApplicationController.js +++ b/apps/documenteditor/forms/app/controller/ApplicationController.js @@ -482,6 +482,7 @@ define([ docInfo = new Asc.asc_CDocInfo(); docInfo.put_Id(data.doc.key); docInfo.put_Url(data.doc.url); + docInfo.put_DirectUrl(data.doc.directUrl); docInfo.put_Title(data.doc.title); docInfo.put_Format(data.doc.fileType); docInfo.put_VKey(data.doc.vkey); diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index 392e100bf..540004261 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -465,6 +465,7 @@ define([ docInfo = new Asc.asc_CDocInfo(); docInfo.put_Id(data.doc.key); docInfo.put_Url(data.doc.url); + docInfo.put_DirectUrl(data.doc.directUrl); docInfo.put_Title(data.doc.title); docInfo.put_Format(data.doc.fileType); docInfo.put_VKey(data.doc.vkey); diff --git a/apps/documenteditor/mobile/src/controller/Main.jsx b/apps/documenteditor/mobile/src/controller/Main.jsx index 8133d5f13..de78856bf 100644 --- a/apps/documenteditor/mobile/src/controller/Main.jsx +++ b/apps/documenteditor/mobile/src/controller/Main.jsx @@ -124,6 +124,7 @@ class MainController extends Component { docInfo = new Asc.asc_CDocInfo(); docInfo.put_Id(data.doc.key); docInfo.put_Url(data.doc.url); + docInfo.put_DirectUrl(data.doc.directUrl); docInfo.put_Title(data.doc.title); docInfo.put_Format(data.doc.fileType); docInfo.put_VKey(data.doc.vkey); diff --git a/apps/presentationeditor/embed/js/ApplicationController.js b/apps/presentationeditor/embed/js/ApplicationController.js index 08e95521f..1ef42abb2 100644 --- a/apps/presentationeditor/embed/js/ApplicationController.js +++ b/apps/presentationeditor/embed/js/ApplicationController.js @@ -115,6 +115,7 @@ PE.ApplicationController = new(function(){ docInfo.put_Id(docConfig.key); docInfo.put_Url(docConfig.url); + docInfo.put_DirectUrl(docConfig.directUrl); docInfo.put_Title(docConfig.title); docInfo.put_Format(docConfig.fileType); docInfo.put_VKey(docConfig.vkey); diff --git a/apps/presentationeditor/main/app.reporter.js b/apps/presentationeditor/main/app.reporter.js index bfbc78e32..1c5efdb6b 100644 --- a/apps/presentationeditor/main/app.reporter.js +++ b/apps/presentationeditor/main/app.reporter.js @@ -107,6 +107,7 @@ require([ docInfo = new Asc.asc_CDocInfo(); docInfo.put_Id(data.key); docInfo.put_Url(data.url); + docInfo.put_DirectUrl(data.directUrl); docInfo.put_Title(data.title); docInfo.put_Format(data.fileType); docInfo.put_VKey(data.vkey); diff --git a/apps/presentationeditor/main/app/controller/Main.js b/apps/presentationeditor/main/app/controller/Main.js index 645b319e6..0729da884 100644 --- a/apps/presentationeditor/main/app/controller/Main.js +++ b/apps/presentationeditor/main/app/controller/Main.js @@ -421,6 +421,7 @@ define([ docInfo = new Asc.asc_CDocInfo(); docInfo.put_Id(data.doc.key); docInfo.put_Url(data.doc.url); + docInfo.put_DirectUrl(data.doc.directUrl); docInfo.put_Title(data.doc.title); docInfo.put_Format(data.doc.fileType); docInfo.put_VKey(data.doc.vkey); diff --git a/apps/presentationeditor/main/app_dev.reporter.js b/apps/presentationeditor/main/app_dev.reporter.js index 1a2cc0821..04aac16cf 100644 --- a/apps/presentationeditor/main/app_dev.reporter.js +++ b/apps/presentationeditor/main/app_dev.reporter.js @@ -108,6 +108,7 @@ require([ docInfo = new Asc.asc_CDocInfo(); docInfo.put_Id(data.key); docInfo.put_Url(data.url); + docInfo.put_DirectUrl(data.directUrl); docInfo.put_Title(data.title); docInfo.put_Format(data.fileType); docInfo.put_VKey(data.vkey); diff --git a/apps/presentationeditor/mobile/src/controller/Main.jsx b/apps/presentationeditor/mobile/src/controller/Main.jsx index d37b60bfe..3894392eb 100644 --- a/apps/presentationeditor/mobile/src/controller/Main.jsx +++ b/apps/presentationeditor/mobile/src/controller/Main.jsx @@ -117,6 +117,7 @@ class MainController extends Component { docInfo = new Asc.asc_CDocInfo(); docInfo.put_Id(data.doc.key); docInfo.put_Url(data.doc.url); + docInfo.put_DirectUrl(data.doc.directUrl); docInfo.put_Title(data.doc.title); docInfo.put_Format(data.doc.fileType); docInfo.put_VKey(data.doc.vkey); diff --git a/apps/spreadsheeteditor/embed/js/ApplicationController.js b/apps/spreadsheeteditor/embed/js/ApplicationController.js index a4fe9104c..a479d3b58 100644 --- a/apps/spreadsheeteditor/embed/js/ApplicationController.js +++ b/apps/spreadsheeteditor/embed/js/ApplicationController.js @@ -122,6 +122,7 @@ SSE.ApplicationController = new(function(){ docInfo.put_Id(docConfig.key); docInfo.put_Url(docConfig.url); + docInfo.put_DirectUrl(docConfig.directUrl); docInfo.put_Title(docConfig.title); docInfo.put_Format(docConfig.fileType); docInfo.put_VKey(docConfig.vkey); diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index 05948d86c..96da856cd 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -494,6 +494,7 @@ define([ docInfo = new Asc.asc_CDocInfo(); docInfo.put_Id(data.doc.key); docInfo.put_Url(data.doc.url); + docInfo.put_DirectUrl(data.doc.directUrl); docInfo.put_Title(data.doc.title); docInfo.put_Format(data.doc.fileType); docInfo.put_VKey(data.doc.vkey); diff --git a/apps/spreadsheeteditor/mobile/src/controller/Main.jsx b/apps/spreadsheeteditor/mobile/src/controller/Main.jsx index de2cd357d..994b97014 100644 --- a/apps/spreadsheeteditor/mobile/src/controller/Main.jsx +++ b/apps/spreadsheeteditor/mobile/src/controller/Main.jsx @@ -162,6 +162,7 @@ class MainController extends Component { docInfo = new Asc.asc_CDocInfo(); docInfo.put_Id(data.doc.key); docInfo.put_Url(data.doc.url); + docInfo.put_DirectUrl(data.doc.directUrl); docInfo.put_Title(data.doc.title); docInfo.put_Format(data.doc.fileType); docInfo.put_VKey(data.doc.vkey);