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 @@ - + - +