From 8a1c27bbd1a0d8cc7d82a6d95440bc8c5ce52f58 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 4 Dec 2024 12:07:28 +0300 Subject: [PATCH] [ve] Rename draw -> visio --- apps/visioeditor/main/app.js | 2 +- apps/visioeditor/main/app/controller/Viewport.js | 2 +- apps/visioeditor/main/index.html | 2 +- apps/visioeditor/main/index_loader.html | 2 +- apps/visioeditor/mobile/src/controller/Main.jsx | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/visioeditor/main/app.js b/apps/visioeditor/main/app.js index dc1f46f01b..5213049f6c 100644 --- a/apps/visioeditor/main/app.js +++ b/apps/visioeditor/main/app.js @@ -52,7 +52,7 @@ require.config({ xregexp : '../vendor/xregexp/xregexp-all-min', socketio : '../vendor/socketio/socket.io.min', allfonts : '../../sdkjs/common/AllFonts', - sdk : '../../sdkjs/draw/sdk-all-min', + sdk : '../../sdkjs/visio/sdk-all-min', api : 'api/documents/api', core : 'common/main/lib/core/application', notification : 'common/main/lib/core/NotificationCenter', diff --git a/apps/visioeditor/main/app/controller/Viewport.js b/apps/visioeditor/main/app/controller/Viewport.js index 53b5908966..0ccdc67ed5 100644 --- a/apps/visioeditor/main/app/controller/Viewport.js +++ b/apps/visioeditor/main/app/controller/Viewport.js @@ -126,7 +126,7 @@ define([ // Create and render main view this.viewport = this.createView('Viewport').render(); - this.api = new Asc.asc_docs_api({ + this.api = new Asc.VisioEditorApi({ 'id-view' : 'editor_sdk', 'translate': this.getApplication().getController('Main').translationTable }); diff --git a/apps/visioeditor/main/index.html b/apps/visioeditor/main/index.html index e03112b5c2..1478d07580 100644 --- a/apps/visioeditor/main/index.html +++ b/apps/visioeditor/main/index.html @@ -443,7 +443,7 @@ - + - +