From 6c285c0b32abc0d9a4b70d87dd8844ea532be233 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 24 Mar 2016 16:21:57 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B0=D0=B2=D0=BA=D0=B0=20=D0=BF?= =?UTF-8?q?=D1=83=D1=82=D0=B5=D0=B9=20=D0=BA=20=D1=88=D1=80=D0=B8=D1=84?= =?UTF-8?q?=D1=82=D0=B0=D0=BC=20=D0=B8=20=D1=82=D0=B5=D0=BC=D0=B0=D0=BC.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/documenteditor/main/app/controller/Main.js | 2 +- apps/presentationeditor/main/app/controller/Main.js | 4 ++-- apps/spreadsheeteditor/main/app/controller/Main.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index 6979911d6..3d31dbcc0 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -90,7 +90,7 @@ define([ window["flat_desine"] = true; this.api.CreateComponents(); - this.api.asc_SetFontsPath("../../../sdk/Fonts/"); + this.api.asc_SetFontsPath("../../../../sdkjs/fonts/"); this.api.Init(); this.api.asc_registerCallback('asc_onError', _.bind(this.onError, this)); diff --git a/apps/presentationeditor/main/app/controller/Main.js b/apps/presentationeditor/main/app/controller/Main.js index f3c745176..c9ea39c92 100644 --- a/apps/presentationeditor/main/app/controller/Main.js +++ b/apps/presentationeditor/main/app/controller/Main.js @@ -80,8 +80,8 @@ define([ this.api.CreateComponents(); this.api.SetDrawingFreeze(true); - this.api.asc_SetFontsPath("../../../sdk/Fonts/"); - this.api.SetThemesPath("../../../sdk/PowerPoint/themes/"); + this.api.asc_SetFontsPath("../../../../sdkjs/fonts/"); + this.api.SetThemesPath("../../../../sdkjs/slide/themes/"); this.api.Init(); this.api.asc_registerCallback('asc_onError', _.bind(this.onError, this)); diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index 30f077194..bd8b3342f 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -81,7 +81,7 @@ define([ // Initialize api this.api = new Asc.spreadsheet_api("editor_sdk", "ce-cell-content"); this.api.asc_setFontRenderingMode(parseInt(value)); - this.api.asc_SetFontsPath("../../../sdk/Fonts/"); + this.api.asc_SetFontsPath("../../../../sdkjs/Fonts/"); this.api.asc_registerCallback('asc_onOpenDocumentProgress', _.bind(this.onOpenDocument, this)); this.api.asc_registerCallback('asc_onEndAction', _.bind(this.onLongActionEnd, this));